2011.06.30 15:21 "[Tiff] Is it possible to read a large tiff image in portions?", by Hib Eris

2011.06.30 15:45 "Re: [Tiff] Is it possible to read a large tiff image in portions?", by Olivier Paquet

On Thu, Jun 30, 2011 at 11:21 AM, Hib Eris <hib@hiberis.nl> wrote:

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.

There's also TIFFReadRGBAStrip for strip based images. All images will fall in either case although some bad TIFFs may be created as a single huge strip. I think those can be handled as well but only with lower level APIs.

Olivier