| 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 |
Thread2010.04.01 21:30 "Re: TIFFReadScanline and large compressed one-strip files", by Tom LaneFrank Warmerdam <warmerdam@pobox.com> writes: > Folks, > I have an LZW compressed TIFF file of 290MB or so with the whole image > in one strip. Reading the file with the TIFFReadScanline() function causes > the entire 280MB of compressed data to be loaded into memory at the point > the first scanline is read. > My client is finding that in some cases on 32bit systems there isn't 290MB > of contiguous memory available and would like a way avoiding prereading the > whole strip. > Does anyone have any suggestions for this? Whack the file's producer upside the head? The entire *point* of the strip/tile mechanism is to limit the amount of data that has to be slurped in at once. I can't see why libtiff should be expected to go to enormous lengths to work around such blind misuse of the format. regards, tom lane |
|||||||