AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.12.05 13:38 "Incorrect rendering of tif-images by libtiff 3.7.2", by Tobias Hilbricht
2005.12.05 13:49 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Joris Van Damme
2005.12.05 16:14 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Tobias Hilbricht
2005.12.05 22:33 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Kai-uwe Behrmann
2005.12.06 09:58 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Tobias Hilbricht
2005.12.06 22:08 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Andrey Kiselev
2005.12.07 12:19 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Tobias Hilbricht
2005.12.05 15:59 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Andrey Kiselev
2005.12.05 17:33 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Tobias Hilbricht

2005.12.05 13:49 "Re: Incorrect rendering of tif-images by libtiff 3.7.2", by Joris Van Damme

Tobias Hilbricht wrote:
> I exported a Pixel image as a tiff-image using that application; you
> can see the file at http://www.linopus.de/debian/pixeltest.tif

ImageWidth (1 Long): 640
ImageLength (1 Long): 480
ResolutionUnit (1 Short): Inch
BitsPerSample (3 Short): 8, 8, 8
Compression (1 Short): Uncompressed
Photometric (1 Short): RGB
StripOffsets (30 Long): 380, 31100, 61820, 92540, 123260, 153980,...
SamplesPerPixel (1 Short): 3
RowsPerStrip (1 Short): 16
StripByteCounts (30 Long): 380, 31100, 61820, 92540, 123260, 153980,...

You can easilly see what's wrong with it: the StripByteCounts values are
incorrectly identical to the StripOffsets value. Haven't really got time
right now to try, but I suspect that if you calculate correct value of
StripByteCounts, which should be easy since this TIFF does not use any
compression, and correct the StripByteCounts value, everything would
work fine.

The fact that some applications render this TIFF, is probably simply
because they apply some robust StripByteCounts value correction in a
case like this.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html