Propagate TIFF tags

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
peter01242
Posts: 17
Joined: 2016-06-22T11:32:57-07:00
Authentication code: 1151

Propagate TIFF tags

Post by peter01242 »

I have to read a TIFF file, add a bar code to it and save it back to the original file.
The source TIFF may contain tags not recognize by IM, even if they are in a valid TIFF tag format.
Is it possible to have IM retain those tags and write them to the target file (also TIFF) even though it does not recognize them?

Thanks,

Pete Young
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Propagate TIFF tags

Post by snibgo »

IM is essentially a raster image processor. It doesn't bother with or record metadata that isn't required for that purpose.

If you use IM to read a tiff, process it and write a tiff, and you also want other metadata copied, exiftool is your friend.
snibgo's IM pages: im.snibgo.com
Post Reply