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

2006.11.20 11:19 "Re: [Tiff] tiffinfo large file issue", by Paul Surgeon

On Monday 20 November 2006 12:44, Andrey Kiselev wrote:

Paul,

Large file support should be enabled automatically by the configure script, there is no any specific option for it. Also I do not think it is an issue on any modern Linux system neither with libtiff 3.8.2 nor with 3.7.4. I am supposing your problem is related to toff_t type which is signed 32-bit integer in libtiff. Please, try to run the tiffdump utility on problematic file. tiffdump works differently from the tiffinfo, so it helps us to diagnose the problem.

Here is the tiffdump info on one of the problem files.

$ tiffdump mosaic.tif

mosaic.tif:
Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 2707918856 (0xa1679008) next 0 (0)
ImageWidth (256) SHORT (3) 1<31515>
ImageLength (257) SHORT (3) 1<28553>
BitsPerSample (258) SHORT (3) 3<8 8 8>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<2>
SamplesPerPixel (277) SHORT (3) 1<3>
MinSampleValue (280) SHORT (3) 3<1 1 1>
MaxSampleValue (281) SHORT (3) 3<255 255 255>
PlanarConfig (284) SHORT (3) 1<2>
TileWidth (322) SHORT (3) 1<64>
TileLength (323) SHORT (3) 1<64>
TileOffsets (324) LONG (4) 661113<8 12296 24584 36872 49160 61448 73736 86024
98312 110600 122888 135176 147464 159752 172040 184328 196616 208904 221192
233480 245768 258056 270344 282632 ...>
TileByteCounts (325) LONG (4) 661113<4096 4096 4096 4096 4096 4096 4096 4096
4096 4096 4096 4096 4096 4096 4096 4096 4096 4096 4096 4096 4096 4096 4096
4096 ...>
SampleFormat (339) SHORT (3) 3<1 1 1>

33550 (0x830e) DOUBLE (12) 3<2 2 0>
33922 (0x8482) DOUBLE (12) 6<0 0 0 344704 4.70706e+06 0>
34735 (0x87af) SHORT (3) 32<1 1 0 7 1024 0 1 1 1025 0 1 2 2048 0 1 4269 2057
34736 1 0 2058 34736 1 1 ...>
34736 (0x87b0) DOUBLE (12) 2<6.37814e+06 6.35675e+06>

Regards

Paul