Quality of an uploaded Image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vinodkalpaka
Forum Newbie
Posts: 11
Joined: Thu Jun 02, 2005 1:11 am

Quality of an uploaded Image

Post by vinodkalpaka »

Hi,
Is there any way to check image quality or resolution of the image uploaded in PHP. Is there any use with the parameters channels and bits of the function getiImageSize()? Please help me.

Thanking in advance.
Vinod A.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Channels and bits has a lot to do with image quality depending on the image type. As for getting the resolution, getimagesize() returns the dimensions. You may be able to extract some meta data via exif if it's installed.
Post Reply