2004.10.29 10:37 "[Tiff] Read from a TIFF and append to it", by Julien Demaria

2004.10.29 18:00 "Re: [Tiff] Read from a TIFF and append to it", by Andrey Kiselev

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

I have never tried that myself, but don't see any reason why it should not works. That is cool if you found this way working.

With the libtiff embeded in GDAL 1.2.3 it doesn't seem work...

Please, try the CVS snapshot of the GDAL, it contains most recent libtiff version. If the problem still exist, I will investigate it.


Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517