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
January 2006

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

2006.01.11 07:08 "LIBTIFF can't read tif file while Type of StripOffsets(tag 273) is SHORT.", by Kelvin Zhong
2006.01.11 16:52 "Re: LIBTIFF can't read tif file while Type of StripOffsets(tag 273) is SHORT.", by Bernie Pallek

2006.01.11 16:52 "Re: LIBTIFF can't read tif file while Type of StripOffsets(tag 273) is SHORT.", by Bernie Pallek

Hi,All 

> After i dig into the problem, It seems it caused by the Type of
> StripOffsets(tag 273) is SHORT.
> [...]
> ImageLength (257) SHORT (3) 1<1720>
> StripOffsets (273) SHORT (3) 1<565>
> RowsPerStrip (278) SHORT (3) 1<871>

The problem is actually caused by something else.  Notice that the image
height is 1720, but the rows-per-strip is not equal to that; in other words,
it's multi-strip.  In a multi-strip image, you'll need more than one
strip-offset.  But you only have one.  So it's not really a well-formed
image, IMO.  If you are in control of the software that created the image,
you might have a bug to fix... :-)