Re: PIL not saving metadata from progressive Jpeg's

Stani <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
http://tilloy.net/dev/pyexiv2/index.htm

On Wed, Jan 27, 2010 at 2:50 PM, Frank Borell <[email protected]> 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  -  [email protected]
> http://mail.python.org/mailman/listinfo/image-sig
>
>



-- 
Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.