Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

5 views
Skip to first unread message

frank...@gmail.com

unread,
Jan 26, 2010, 8:52:56 AM1/26/10
to
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


0 new messages