DPI
"Samuel Moore" <[email protected]>
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <000401cadd63$25d30e50$71792af0$@com> |
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
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig