-
2012.11.28 20:19 "Re: [Tiff] Error in TIFFWriteDirectory when writting multi page TIFF", by Jorge Martin
- 2012.11.28 19:04 "Re: [Tiff] Error in TIFFWriteDirectory when writting multi page TIFF", by David Burken
- 2012.11.28 21:37 "Re: [Tiff] Error in TIFFWriteDirectory when writting multi page TIFF", by David Burken
- 2012.11.29 10:10 "Re: [Tiff] Error in TIFFWriteDirectory when writting multi page TIFF", by Jorge Martin
2012.11.28 21:37 "Re: [Tiff] Error in TIFFWriteDirectory when writting multi page TIFF", by David Burken
If you build your own gdal you can point it to external lib with --with-libtiff and --with-geotiff in the ./configure line.
Take care,
Dave
On 11/28/2012 03:19 PM, Jorge Martin wrote:
Thank you very much for your help!!!
I have discovered that the problem is only appearing in a code that is linked to libtiff and also to libgdal. In the other cases the executable is not linked to gdal library.
I have removed gdal library in the code that reproduces the problem and it disappears, the multi-file is written correctly.
I think that it could also disappears if I change the order of linking libtiff and libgdal libraries in the makefile.
> 2012/11/28 David Burken <dburken@comcast.net <mailto:dburken@comcast.net>>
>
> Hi,
You may need a TIFFFlush call. This class writes subfiles (overviews) if
http://trac.osgeo.org/ossim/browser/trunk/ossim/src/ossim/imaging/ossimTiffOverviewBuilder.cpp
Best of luck,
> Dave
On 11/28/12 11:45 AM, Jorge Martin wrote:
I am trying to write multi-file TIFF. In some cases I am obtaining the following error from TIFFWriteDirectory function:
TIFFLinkDirectory: Error fetching directory count.
TIFFReadDirectory help says:
"*Error fetching directory count*. A read error occurred when
fetching the directory count field for a previous directory. This can occur
when setting up a link to the directory that is being written."But I do not understand the origin of the error and how to solve this problem, because it only writes the first image.
Does anyone know how to solve this error?
>> Tiff mailing list:Tiff@lists.maptools.org <mailto:Tiff@lists.maptools.org>