2005.08.18 20:52 "[Tiff] read-by-scan-line still buffers full strip?", by Mark Pilon
I've gotten beyond my libtiff v.3.5.7 troubles and can now read jpeg encoded images line by line. I ported 3.7.3 and it seems to be working well.
In an attempt to save memory and to read native pixel values (instead of RGBA) I'm calling TIFFReadScanline() for an image, [tiffinfo below] and that func is ultimately calling TIFFFillStrip() which tries to malloc about 66M to buffer the whole thing - which is more memory than what we have.
this image is one strip of 4420 lines; is there a way/cheat/hack to _really_ access it one line at a time, w/o buffering the whole thing?
Mark Pilon firstname.lastname@example.org
TIFF Directory at offset 0x8
Subfile Type: multi-page document (2 = 0x2)
Image Width: 4048 Image Length: 4420
Resolution: 1200, 1200 pixels/inch
Compression Scheme: LZW
Photometric Interpretation: RGB color
Orientation: row 0 top, col 0 lhs
Planar Configuration: single image plane
Page Number: 0-0