2002.03.14 10:49 "Using TIFFReadScanLine() for Large images", by Antonio E. Scuri
Assuming you've read the TIFF header and know A) how big scanlines are, B) how big the image is, and C) have malloc'ed a scanline, just loop through and read the scanline into your buffer
Since TIFF images are writen in "strips" how much memory LibTiff uses for reading an image line?
From another point of view, I have a very large image that does not fits in memory. I would like to convert it to another format. I can do this using TIFFReadScanLine, but the memory used internally by LibTiff can be very large, because the file can be stored in only one strip, or in tiles, compressed, and so on...
Anyone can explain the memory usage in LibTiff? or can explain if the TIFFReadScanLine method is ok for reading large images?
In time, JPEGlib has the same issue. Anyone can comment on the JPEGlib memory usage?