
Thread
2008.06.20 14:13 "[Tiff] Possible bug in tiffcp", by Bogdan Cristea
Using the following command line
tiffcp -c g4 -f lsb2msb -s -w 1728 "$1" classF_"$1"
I obtain a tile oriented file instead of a strip oriented file. Below is the output of tiffdump:
Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 938 (0x3aa) next 0 (0)
ImageWidth (256) SHORT (3)
1<1728>
ImageLength (257) SHORT (3)
1<2243>
BitsPerSample (258) SHORT
(3) 1<1>
Compression (259) SHORT (3)
1<4>
Photometric (262) SHORT (3) 1<0>
FillOrder (266) SHORT (3)
1<2>
Orientation (274) SHORT (3)
1<1>
SamplesPerPixel
(277) SHORT (3) 1<1>
XResolution (282) RATIONAL (5)
1<150>
YResolution (283) RATIONAL (5)
1<150>
PlanarConfig
(284) SHORT (3) 1<1>
TileWidth (322) SHORT (3)
1<1728>
TileLength (323) SHORT (3)
1<256>
TileOffsets (324) LONG (4)
9<8 111 214 317 420 523 626 729 832>
TileByteCounts (325)
LONG (4) 9<103 103 103 103 103 103 103 103 106>
I have tried both the stable version 3.8.2 and the last version 4.0.0beta2.
Any hints why tiffcp does not work as expected?
--
Bogdan Cristea