PIL: Wiping out metadata on save only on progressive JPG's

frankborell at gmail.com frankborell at gmail.com
Tue Jan 26 14:52:56 CET 2010


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':


More information about the Python-list mailing list