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

2006.11.20 15:32 "Re: [Tiff] tiffinfo large file issue", by Andrey Kiselev

On Mon, Nov 20, 2006 at 01:19:37PM +0200, Paul Surgeon wrote:

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>

Hmm, I prepared the similar file and there is no problem with it:

test.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>
PlanarConfig (284) SHORT (3) 1<2>
TileWidth (322) SHORT (3) 1<64>
TileLength (323) SHORT (3) 1<64>
TileOffsets (324) LONG (4) 661113<8 4104 8200 12296 16392 20488 24584
28680 32776 36872 40968 45064 49160 53256 57352 61448 65544 69640 73736
77832 81928 86024 90120 94216 ...>
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>

(tile ordering is different, but it should not have any impact). I do not have a clue what is going wrong on your system. Could you try the recent libtiff snapshot from CVS?

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517