I've written a little script that will download TIFF images from an FTP server, then resizes them and saves them as JPGs.
So far, so good, but in the compression step (listed below), I lose the EXIF data from the file.
Is there an elegant way to do the conversion / resizing / compression without losing EXIF data?
convert -limit memory 32 -limit map 64 sourcefile.tif -units PixelsPerInch -density 72 -quality 90 -resize 1500 targetfile.jpg
Any ideas?
解决方案
By updating it to the newest version, the TIFF EXIF bug was fixed, ImageMagick 6.6.9-6 Glorious works according to @palmaceous.
(I am adding this answer because I didn't notice the question was answered by the author of the question already. Felt someone would miss it as well.)