Karuna wrote:
Hi. Is it possible to find out the dpi of an image (preferably jpeg) in php? I can't seem to find any function to do this.

Cheers,
Karuna.

you can't find the "dpi of an image" because that depends on the medium used to display it. If your printer prints it with a dpi of 1000, it will have a dpi of 1000 at that point. if your screen shows it with a dpi of 250, it will have 250 at that point. DPI does not have anything to do with the image itself, only with how the image is displayed on the medium (a screen, a piece of paper, etc.)
a good explenation of this can be found online, eg here:
http://www.rideau-info.com/photos/mythdpi.html

- tul

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to