[Image-SIG] PIL - How do I resize an image while keeping the IPTC and EXIF info?

Fredrik Lundh fredrik at pythonware.com
Mon Jan 28 23:07:23 CET 2008


Samuel Moore wrote:

> I'm using the Python Imaging Library (PIL v1.1.6) to batch resize 
> images. Problem is, it erases the IPTC and EXIF data for the resized 
> file. I want the data to stay. Help??

PIL cannot save IPTC/EXIF data, so there's no way to do this "out of the 
box".

(patches are welcome, as usual).

</F>



More information about the Image-SIG mailing list