[Image-SIG] reading JPG metadata with python
Sun, 1 Dec 2002 17:57:09 +0100
> Having the Pil Handbook not having found any hint; I'm wondering :
> U might know Perl's Image::Info, anything of the kind in python ?
it might help if you tell people what "Image::Info" does...
if all you need know is the size and format, use the "size" and "format"
attributes of the Image instance:
im = Image.open(...)
print im.size, im.format
for more information, check the contents of the "info" dictionary.