AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.12.21 10:50 "[Tiff] insert before tags", by Thomas Oldenkott
2005.12.21 13:14 "Re: [Tiff] insert before tags", by Joris

2005.12.21 13:14 "Re: [Tiff] insert before tags", by Joris

Thomas,

I have to insert a two byte integer value before the beginning of the tags. It has not any tag number. This value include the quantity of tags in the current image.

How can I make this?

Either you are working from an incorrect assumption, or you need to make yourself more clear. Are you using LibTiff? When you write tag values and such to an IFD, LibTiff takes care of properly writing the IFD structure, including the tag count word at the start of the IFD.

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