| 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 |
Thread2011.06.30 15:21 "Is it possible to read a large tiff image in portions?", by Hib ErisHi, I am trying to handle large tiff files using libtiff, for example, an image of size 13244 x 18724 pixels. When I use int TIFFReadRGBAImage(TIFF *tif, u_long width, u_long height, u_long *raster, int stopOnError), then the "raster" must be 13244 x 18724 x 4 = 991922624 bytes. That is almost 1 GB and that is too much for my computer. To avoid this, I would like to read and process the image in pieces, how should I do this with libtiff? I noticed int TIFFReadRGBATile(TIFF *tif, uint32 x, uint32 y, uint32 *raster), but that seems to only work for tile-based tiff images. I would like to have a solution for all tiff images, not only tile-based ones. Thanks, Hib Eris |
|||||||