| 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 |
Thread2005.09.13 16:17 "read-by-scan-line buffers full strip, part 3", by Mark Pilonthe details: I need to access a particular tiff image, some small (and arbitrary) # of lines at a time. 1 if necessary; when I try to read this image w/ TIFFReadScanline(), a 60+ Mb buffer is allocated for the entire strip/image -- the image is large, color and one strip. I need to process the image sequentially w/o any random access. the tiffinfo for this image: [mpilon@mars mpilon]$ tiffinfo /rd/tests/gld/tiff/QL/TQ1RCLCE.tif TIFF Directory at offset 0x8 Subfile Type: multi-page document (2 = 0x2) Image Width: 4048 Image Length: 4420 Resolution: 1200, 1200 pixels/inch Bits/Sample: 8 Compression Scheme: LZW Photometric Interpretation: RGB color Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Rows/Strip: 4420 Planar Configuration: single image plane Page Number: 0-0 ----------------------------------------------- unfortunately, it seems that libtiff won't be easily modified to uncompress only part of a strip at a time ... and before beginning such a significant modification, I thought I'd ask if there was any other way to get to the data ... i.e. using libtiff part-way to get access to the compressed data, but perform the decompression in smaller increments than the whole strip. thanks for the replies -- please send more ! Mark |
|||||||