| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.10.18 09:47 "Re: Confirmation on stripbytecount tag", by Joris Van DammeKatrina 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 |
|||||||