2006.11.19 18:02 "[Tiff] tiffinfo large file issue", by Paul Surgeon

2006.11.19 22:10 "Re: [Tiff] tiffinfo large file issue", by Paul Surgeon

On Sunday 19 November 2006 23:20, Bob Friesenhahn wrote:

The tiffinfo utility primarily reads TIFF directories, which may occur almost anywhere in the file. If the TIFF directory is placed at the end of a file which is over 2GB in size, then a file offet value bigger than 2GB is necessary to retrieve it. Systems which do not support large files often use a signed 32-bit integer value to represent file offsets (off_t type), and this value overflows at the 2GB offset. Some systems (e.g. Linux and Solaris) require special compilation options in order to use larger file offsets (signed 64-bit integer) in programs so that the programs can support large files.

If all the offsets necessary to access the TIFF directories are less than 2GB, then it may be possible to usefully access the file even if the image raster data causes the file to be larger than 2GB.

That could be the problem.

Is there anyway to rewrite the files and make sure the TIFF directories are at the front of the files?