Johny:
> Is it possible to find out a picture resolution by using PIL package
By Gian Mario Tagliaretti:
import PIL.Image
a = PIL.Image.open("foo.jpg")
a.info["dpi"]
(72, 72)
(It may raise an exception if that information isn't available)
I don't know if that can be used to read the DPI tag insi
On Apr 6, 1:16 pm, "Johny" <[EMAIL PROTECTED]> wrote:
> Is it possible to find out a picture resolution by using PIL package?
> Thanks for help
> L.
Dunno. But I found some ways to read metadata that should give you the
info in most cases:
http://snippets.dzone.com/posts/show/768
http://hachoir.
Is it possible to find out a picture resolution by using PIL package?
Thanks for help
L.
--
http://mail.python.org/mailman/listinfo/python-list