2008.01.10 19:03 "[Tiff] LibTiff..Reading partial strips", by Nikhil Shirahatti

2008.01.11 07:40 "Re: [Tiff] LibTiff..Reading partial strips", by

Frank,

In addition to "strip chopping", libtiff also has the TIFFReadScanline() function for reading strips one scanline at a time. This operates without needing to read and decompress the whole strip at once.

TIFFReadScanline and that sort of access might be more optimally streaming. But support for it depends on the particular subcodec, and I seem to remember not all subcodecs support it. It does not work on tiled images, either, and since there's no actual definition in the man pages of what should be returned on subsampled images, there's a bit of a mess in that case. So I essentially regard this scanline based access a broken concept in LibTiff.

Best regards,

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