I am trying to determine DPI from images. Can anyone help?
I tried:
img = Image.open("Hamerkop.jpg")
img.info["dpi"]
but it doesn't work for all jpegs.
Python 2.5.1
PIL 1.1.7
Regards,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20100416/93bd1717/attachment-0001.html>