AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1994.02.12 05:32 "Problem using tiled images", by Timothy J. Wood
1994.02.12 05:43 "Problem using tiled images, continued", by Timothy J. Wood
1994.02.12 22:05 "Problems with tiles images (solution)", by Timothy J. Wood

1994.02.12 05:43 "Problem using tiled images, continued", by Timothy J. Wood

Actually, I don't feel so bad since tiffcp doesn't seem to work either. (The TileByteCounts and TileOffsets entries are screwed)

-tim

bungi@manatee: ~/tmp> tiffcp -tiles -tilewidth 64 -tilelength 64 -lzw
~/Source/Unix/libtiff/pics/cramps.tiff tile.tiff
bungi@manatee: ~/tmp> tiffdump tile.tiff

tile.tiff:
Magic: 0x4d4d <big-endian> Version: 0x2a
Directory 0: offset 10 (0xa)
ImageWidth (256) SHORT (3) 1<800>
ImageLength (257) SHORT (3) 1<607>
BitsPerSample (258) SHORT (3) 1<8>
Compression (259) SHORT (3) 1<5>
Photometric (262) SHORT (3) 1<0>
FillOrder (266) SHORT (3) 1<1>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<1>
XResolution (282) RATIONAL (5) 1<72>
YResolution (283) RATIONAL (5) 1<72>
PlanarConfig (284) SHORT (3) 1<1>
TileWidth (322) SHORT (3) 1<64>
TileLength (323) SHORT (3) 1<64>
TileOffsets (324) LONG (4) 130<8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>
TileByteCounts (325) LONG (4) 130<2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>