AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2001.05.15 21:38 "finding the offset of a tag", by Jordan Woerndle
2001.05.16 13:18 "Re: finding the offset of a tag", by Ken Murchison

2001.05.15 21:38 "finding the offset of a tag", by Jordan Woerndle

Good Afternoon,

Is there a way to find the offset of a particular flag in a tiff directory?

I have a tag that gives the offset to an additional tiff directory that contains private tags. I assume if I add the current offset of the tag to the value I pull out of the tag (ususally 374) I can pass that into TIFFSetSubDirectory and then read in the values of those tags.

First, how do i get the current offset of the tag?

Second, do you think I'm going about this the right way (i.e. Will it work?)

Thanks in advance,

Jordan Woerndle