Re: modify image and save with exif data

2012-12-17 Thread jwe . van . dijk
On Sunday, 16 December 2012 20:43:12 UTC+1, jwe.va...@gmail.com wrote: > I want to resize an image but retain the exif data > > I now have: > > import Image > > > > img = Image.open('photo.jpg') > > img.thumbnail((800, 800), Image.ANTIALIAS) > > img.save('photo800.jpg', 'JPEG') > > > > T

Re: modify image and save with exif data

2012-12-16 Thread Vincent Vande Vyvre
Le 16/12/12 20:43, jwe.van.d...@gmail.com a écrit : > I want to resize an image but retain the exif data > I now have: > import Image > > img = Image.open('photo.jpg') > img.thumbnail((800, 800), Image.ANTIALIAS) > img.save('photo800.jpg', 'JPEG') > > The saved image photo800.jpg has no exif info a

modify image and save with exif data

2012-12-16 Thread jwe . van . dijk
I want to resize an image but retain the exif data I now have: import Image img = Image.open('photo.jpg') img.thumbnail((800, 800), Image.ANTIALIAS) img.save('photo800.jpg', 'JPEG') The saved image photo800.jpg has no exif info anymore. I would so much like to have it retained in particular the e