[Image-SIG] reading JPG metadata with python
Fredrik Lundh
fredrik@pythonware.com
Sun, 1 Dec 2002 17:57:09 +0100
"daniel" wrote:
> 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.
</F>