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
May 1994

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

1994.05.27 20:15 "handling a strip size that's too big", by Craig Tulig
1994.05.27 20:49 "Re: handling a strip size that's too big", by Dan Mccoy
1994.05.27 23:30 "Re: handling a strip size that's too big", by Dwight Kelly

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

/////////////////////////////////////////////////////////////////////////////
// Craig Tulig                                 Collaborative, Research Inc.
// craig@cric.com                              Waltham, MA
/////////////////////////////////////////////////////////////////////////////