F
frankborell
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
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