[Gdal-dev] BigTiff and libtiff

Andrey Kiselev dron at ak4719.spb.edu
Sat Sep 15 05:15:38 EDT 2007


On Fri, Sep 14, 2007 at 02:03:08PM -0400, Garrett Potts wrote:
> I have been looking through the headers on BigTiff and was looking at
> the bit size for the number of directories.  Looks like the directory
> count can only support 16bit word which puts it at a limitation of
> 65536 total.  Is this correct?

It is not correct. Take a look at TIFFDirEntry structure in tiffiop.h,
it has 64-bit tdir_count field. There is a link to specification:

 http://www.awaresystems.be/imaging/tiff/bigtiff.html

We certainly need large counts for strip/tile indexing, so it is.

Best regards,
Andrey

-- 
Andrey V. Kiselev
ICQ# 26871517



More information about the Gdal-dev mailing list