AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.12.24 18:04 "[Tiff] writing custom tags with TIFFSetField", by Carl Collin
2003.12.26 11:51 "Re: [Tiff] writing custom tags with TIFFSetField", by Andrey Kiselev
2003.12.26 18:02 "[Tiff] Error with sample code to copy a custom tag", by Carl Collin
2003.12.26 18:32 "Re: [Tiff] Error with sample code to copy a custom tag", by Andrey Kiselev
2003.12.26 18:48 "[Tiff] CopyTag error again...", by Carl Collin
2003.12.26 19:17 "Re: [Tiff] CopyTag error again...", by Andrey Kiselev

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