[Image-SIG] IPTC and EXIF in PIL

Jeff Kunce jeff@corrt.com
Mon, 02 Dec 2002 10:08:21 -0600

Good question. PIL reads EXIF data just fine:
   import Image
   im1 = Image.open('myimage.jpg')
   dictionaryContainingExifData = im1.app

However, when you save a PIL image, it does not save
the EXIF data:
   im2 = Image.open('test.jpg')
im2.app contains only a short 'JFIF' entry

I asked a while back how to save EXIF data via PIL, but received no response.


At 04:31 PM 11/27/2002 -0600, kent@springfed.com wrote:
>What is the current capability of PIL in handling
>imbedded data;
>[ ] destroys it
>[ ] reads
>[ ] writes
>[ ] other