Page 1 of 1

Replace sub-images in a multi-page TIF ?

Posted: 2018-10-11T02:30:54-07:00
by Jossie
Hello,

my scanner delivers its raw data as multipage TIFs. I would like to tweak the images without changing the metadata. If the metadata are changed, the software no longer works correctly. Is there a way in imagemagick to "replace" the content of the sub-images without affecting the metadata?

I have tried the following: extract the sub-images with imagemagick, tweak the images with imageJ, assemble the images back with imagemagick, use EXIFtool to copy the metadata from the original to the tweaked TIF. However, EXIFtool does not copy all tags, so the procedure does not work.

Many thanks in advance and best wishes

Hermann-Josef

Re: Replace sub-images in a multi-page TIF ?

Posted: 2018-10-11T04:22:49-07:00
by snibgo
Jossie wrote:Is there a way in imagemagick to "replace" the content of the sub-images without affecting the metadata?
No. If exiftool doesn't copy all tags, how about exiv2? If neither work, I suggest you report this to them.

Re: Replace sub-images in a multi-page TIF ?

Posted: 2018-10-11T06:49:49-07:00
by Jossie
Thanks for your reply.

I have asked in the EXIFtool forum. I looked into the documentation of exiv2 and did not find a copy command there.

If all else fails I will have to do this with own software, which I try to avoid, of course.

Hermann-Josef