Page 1 of 1

TIFF to JPEG - maintaining IPTC data

Posted: 2010-10-15T07:38:09-07:00
by suvigb
Hello,

I am using a product that uses ImageMagiick under the covers. I can modify the command is used to convert the TIFF to JPEG.
Currently, this product removes all the IPTC data from the JPEG. I am wondering if their is a modification I can do to the command line so that the IPTC data is maintained.

thx
Suvig

Re: TIFF to JPEG - maintaining IPTC data

Posted: 2010-10-15T08:28:49-07:00
by immortal26
Here's an example of extracting iptc data:
convert source.tif 8BIMTEXT:iptc.txt

And here's an example of embedding that iptc data (held in a text file) into a jpg:
mogrify -profile 8BIMTEXT:iptc.txt destination.jpg