2004.10.29 10:37 "[Tiff] Read from a TIFF and append to it", by Julien Demaria
I need to read the first directory of a TIFF and in the same time append a new directory to it. In fact I want to create a multi-directory TIFF and to read the first dir when I create the second,... etc What's the proper way to do this?
My approach which works with libtiff 3.5.7 was to TIFFOpen the file in "w" mode, write the first dir, then TIFFOpen the first dir in "r" mode, and then read in the first and write in the second,... etc With the libtiff embeded in GDAL 1.2.3 it doesn't seem work...
Note: I have also to do this on SubIFDs instead IFDs.
Thanks in advance,