[Image-SIG] PIL: jpeg comment

Jeff Kunce jeff at corrt.com
Fri Jan 2 05:20:19 CET 2004


I don't know for sure, but try looking in the "app" attribute (a
dictionary) of an image object. For example:
  im = Image.open('myimage.jpg')
  print im.app
EXIF data is stored there, so maybe comments are, too

  --Jeff

> -----Original Message-----
> From: image-sig-bounces at python.org
[mailto:image-sig-bounces at python.org]
> On Behalf Of Gerrit Holl
> Sent: Tuesday, December 23, 2003 4:17 PM
> To: image-sig at python.org
> Cc: python-list at python.org
> Subject: [Image-SIG] PIL: jpeg comment
> 
> Hi,
> 
> how do I read a JPEG comment with the Python Imaging Library?
> 
> yours,
> Gerrit Holl.
> 
> --
> Asperger's Syndrome - a personal approach:
> 	http://people.nl.linux.org/~gerrit/english/
> 
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig







More information about the Python-list mailing list