2007.07.14 11:29 "[Tiff] simple "takeover" mechanism for tags", by Oliver Geisen

2007.07.16 11:55 "Re: [Tiff] simple "takeover" mechanism for tags", by Joris Van Damme

Oliver,

to process TIFFs i would like to save the new file with the same TAGs as the input file and only process the imagedata itself. For that i need to read each tag and write its value to the output file.

Isn't there an simpler way to read whole IFDs and write them to the destination file?

Or at least loop through the defined TAGs in an source-IFD?

This sort of operation is not particularly good supported in current LibTiff. It is however a planned extension. In particular the exact iterating through tags in an existing IFD, and reading their exact and unchanged types, count, and value, will very likely be our first major step in this area.

For now, I suggest you take a good look at tiffcp as second best option.

Best regards,

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html