2003.12.24 18:04 "[Tiff] writing custom tags with TIFFSetField", by Carl Collin

2003.12.24 18:04 "[Tiff] writing custom tags with TIFFSetField", by Carl Collin

I am trying to update tiffcp to read and write a custom tag (Wang Annotations). Well, in the newest CVS it looks like TIFFGetField might be finally able to acquire the custom tag data. But when I try and write it using TIFFSetField it seems to be getting written to a different tag number than what was specified on the tag line. Beyond that, I can't figure out how writing to the TIFFTagValue that is specified in the default section of _TIFFVSetField actually writes to the new tiff directory. Has anyone seen any examples of reading and writing to custom tags using the new interface in 3.6.X?

Carl J. Collin
cdog1977@hotmail.com