[Image-SIG] PIL not saving metadata from progressive Jpeg's

Frank Borell frankborell at gmail.com
Wed Jan 27 14:50:12 CET 2010


Hello,

I've tested on PIL 1.16 and 1.17. Metadata(IPTC and EXIF) are saved
fine when the jpg image is NOT progressive. But when the jpg is
progressive, the metadata gets wiped out. Does anyone have any ideas
on how to preserve?

im = Image.open('progressive jpeg path')

im.save('jpeg path') or
im.save('jpeg path',option={'progression':False,'quality':
60,'optimize':True})
Thanks,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20100127/9daf42a0/attachment-0001.htm>


More information about the Image-SIG mailing list