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
October 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.10.18 09:21 "Confirmation on stripbytecount tag", by Katrina Maramba
2005.10.18 09:47 "Re: Confirmation on stripbytecount tag", by Joris Van Damme

2005.10.18 09:47 "Re: Confirmation on stripbytecount tag", by Joris Van Damme

Katrina

katrina maramba wrote:
> Stripbytecount (if there are more than 1) has the same
> value all throughout, except for the last one (which
> would be the remainder).  Example, if there are 120
> counts with 61KB as the first stripbytecount, we can
> assume that it will be 61KB until the 119th strip and
> the 120th strip will be less than 61KB.

Your assumption holds for uncompressed stripped data. Yes, in that case,
all strips but the last one will have the same ByteCount, since all
strips but the last one have the same number of uncompressed image lines
in them. (Nevertheless, even in this case, careful checking may be in
order, and would normally have to be included in the implementation of
the 'uncompressed decompressor' anyhow even if not checked in an earlier
state.)

Your assumption does not hold if any kind of compression in involved,
for obvious reasons.


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