2011.03.28 18:22 "[Tiff] TIFFReadCustomDirectory and TIFFWriteCustomDirectory", by Steve Underwood

2011.03.28 18:22 "[Tiff] TIFFReadCustomDirectory and TIFFWriteCustomDirectory", by Steve Underwood

Hi,

I have started using TIFFReadCustomDirectory to access some special IFD blocks in TIFF-FX files. That seems to be working OK, but I can't find a way to do the opposite, and write similar special IFD blocks. I found TIFFWriteCustomDirectory, but it doesn't seem to be documented, and doesn't seem to be a corollary of TIFFReadCustomDirectory. When I try calling TIFFWriteCustomDirectory(tiff_file, &offset); it always returns zero for the offset, and I can't seem to find a related block of tags in the resulting file, if I do a hex dump of that file. Can anyone help?

Steve