AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2009.08.28 01:32 "tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 02:09 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 03:13 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.30 07:09 "Re: tiff 3.9.0 writes bad files", by Andreas Kleinert
2009.08.30 16:06 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 03:23 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 04:11 "Re: tiff 3.9.0 writes bad files", by Lee Howard
2009.08.28 04:22 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn

2009.08.28 03:23 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn

This is what is happening when GraphicsMagick writes the TIFF. 
Before I reverted my (apparently) improper cast, this is what happened 
when tiffcp wrote a file as well.

% tiffdump -m 1000 tiger-rgb-strip-contig-08.tif
tiger-rgb-strip-contig-08.tif:
Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 16214 (0x3f56) next 0 (0)
ImageWidth (256) SHORT (3) 1<73>
ImageLength (257) SHORT (3) 1<76>
BitsPerSample (258) SHORT (3) 3<8 8 8>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<2>
DocumentName (269) ASCII (2) 30<tiger-rgb-strip-contig-08.tif\0>
ImageDescription (270) ASCII (2) 27<8-bit contiguous RGB image\0>
StripOffsets (273) LONG (4) 3<8 8111 0>        <-- last strip offset 0!
SamplesPerPixel (277) SHORT (3) 1<3>
RowsPerStrip (278) SHORT (3) 1<37>
StripByteCounts (279) LONG (4) 3<8103 8103 0>  <-- last strip length 0!
XResolution (282) RATIONAL (5) 1<72>
YResolution (283) RATIONAL (5) 1<72>
PlanarConfig (284) SHORT (3) 1<1>
ResolutionUnit (296) SHORT (3) 1<1>
PageNumber (297) SHORT (3) 2<1 0>
Software (305) ASCII (2) 65<GraphicsMagick 1.4 unreleased Q32 http://www.GraphicsMagick.org/\0>
SampleFormat (339) SHORT (3) 3<1 1 1>

Is no one else seeing this problem?  Libtiff 3.9.0 was released on the 
20th.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/