Can anyone provide some direction, besides a link to the gdlibrary, on displaying image resolution?
I would appreciate it greatly!!
Thanks
getimagesize() doesn't require GD.
You're correct, but that function only returns width and hieght. I am looking for dpi resolution; i.e. 75dpi and 300dpi
Thanks though!!
Percadan wrote:You're correct, but that function only returns width and hieght. I am looking for dpi resolution; i.e. 75dpi and 300dpi Thanks though!!
Oh right .. well .. for GIF and PNG files there is no dpi value stored. For JPEG the value might be stored in the EXIF information .. but it's not very common unless the jpg came from a digital camera. Try http://uk.php.net/manual/en/function.exif-read-data.php .. but I wouldn't be too hopeful.