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 2008

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

2008.01.10 19:03 "LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.10 21:33 "Re: LibTiff..Reading partial strips", by Bob Friesenhahn
2008.01.10 21:40 "Re: LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.10 22:01 "Re: LibTiff..Reading partial strips", by Bob Friesenhahn
2008.01.11 07:35 "Re: LibTiff..Reading partial strips", by Joris Van Damme
2008.01.10 22:08 "Re: LibTiff..Reading partial strips", by Frank Warmerdam
2008.01.10 22:48 "Re: LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.10 23:04 "Re: LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.11 00:59 "Re: LibTiff..Reading partial strips", by Bob Friesenhahn
2008.01.11 07:40 "Re: LibTiff..Reading partial strips", by Joris Van Damme

2008.01.10 22:01 "Re: LibTiff..Reading partial strips", by Bob Friesenhahn

On Thu, 10 Jan 2008, Nikhil Shirahatti wrote:

> I havent tried it..but the cautionary note that " It is not always possible
> to do so due to decompression constraints" scares me. I also read on the
> archive that "that *strip* *chopping* only works for uncompressed  IFDs.".
> How common(or uncommon) is this? When would one use compressed IFD's?
> The tiff's we get can be compressed or uncompressed formats and we have to
> support them all. :)

It is quite likely that other folks here know a lot more about this 
than I do so hopefully they will chime in.  I don't know what a 
compressed IFD might be since and IFD is just a structure.

My impression is that libtiff decompresses into a buffer and then uses 
part (or all) of that buffer.  Some compression algorithms/options 
either require decompressing a huge amount of data (e.g. the whole 
strip), or else using simultaneous streaming decompression at the same 
time that data is consumed by the rest of the library.  If libtiff 
decompresses in blocks and does not stream (as I suspect) then 
sometimes it will need to decompress the entire strip before it can be 
used.  G4 FAX compression with a strip-per-page is likely a good 
example of that.

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