2012.10.23 00:20 "[Tiff] Multi-page TIFF max. size limitation", by Jorge Martin

2012.10.23 05:07 "Re: [Tiff] Multi-page TIFF max. size limitation", by Frank Warmerdam

On 12-10-22 05:40 PM, Jorge wrote:

   I am working always on 64bit machine. I am interesed on read/write tiff files smaller than 4Gb so I do not have to use BigTiff.

What dif you mean for "files that are too large for 32bit offsets"?

Jorge,

The difference between regular TIFF and BigTIFF is that BigTIFF supports using 64bit integers for file offsets while TIFF only supports 32bit offsets.

An unsigned 32bit offset can address up to 4GB. However, on some systems the off_t type used for the posix file io api is signed and so can only address 2GB of space.

If you are unable to create files up to 4GB with 3.9.x versions of libtiff then it is likely you are using signed integers. You might check which of tif_win32 or tif_unix is being used and the particulars of how it is built.

It is also likely that files between 2GB and 4GB will not work with some applications that have this same problem.

Best regards,

--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com

light and sound - activate the windows | http://home.gdal.org/warmerda and watch the world go round - Rush | Geospatial Software Developer