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

Stani spe.stani.be at gmail.com
Thu Feb 11 20:26:15 CET 2010


http://tilloy.net/dev/pyexiv2/index.htm

On Wed, Jan 27, 2010 at 2:50 PM, Frank Borell <frankborell at gmail.com> wrote:
> 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
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
>



-- 
Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be


More information about the Image-SIG mailing list