AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
November 2012

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2012.11.28 16:45 "Error in TIFFWriteDirectory when writting multi page TIFF", by Jorge Martin
2012.11.28 19:04 "Re: Error in TIFFWriteDirectory when writting multi page TIFF", by David Burken
2012.11.28 20:19 "Re: Error in TIFFWriteDirectory when writting multi page TIFF", by Jorge Martin
2012.11.28 21:37 "Re: Error in TIFFWriteDirectory when writting multi page TIFF", by David Burken
2012.11.29 10:10 "Re: Error in TIFFWriteDirectory when writting multi page TIFF", by Jorge Martin

2012.11.28 19:04 "Re: Error in TIFFWriteDirectory when writting multi page TIFF", by David Burken

Hi,

You may need  a TIFFFlush call.  This class writes subfiles (overviews) 
if you want to look at it.

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:
> Hello,
>
>
>     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?
>
> Best Regards,
>
> Jorge
>
>
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/