1994.05.27 20:15 "handling a strip size that's too big", by Craig Tulig
Is there a way to make the TIFF 3.0 (or TIFF 3.3 beta 002) library read scanline-sized amounts of data instead of strip-size amounts of data?
The reason I ask is that our scanner produces 40MB TIFF files consisting of a single strip. I would like to read the image a scanline (a few KB) at a time. However, since the file consists of just 1 strip, when I call TIFFReadScanline, the TIFF library apparently creates an internal buffer for the entire 40MB strip, which is causing a performance problem.
So to restate my question, is there a way to force TIFF to read one scanline instead of the entire strip? I am under the impression that TIFFReadEncodedStrip and TIFFReadRawStrip are for reading the entire strip. Also, having the scanner write one scanline per strip is not an option.
Thanks for any suggestions,
// Craig Tulig Collaborative, Research Inc.
// firstname.lastname@example.org Waltham, MA