2008.06.17 11:45 "Re: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Andrey Kiselev
On Tue, Jun 17, 2008 at 09:53:01AM +0200, Rob Eisink wrote:
Thanks, we use the TIFFReadEncodedStrip when we've determined the stripsize. From the documentation and from the LibTiff sources the interface is such that I can give a size of the data to read but I would expect a pointer back and read from that point on.
What do I miss?
You missed a strip chopping feature of libtiff which is supported for years. Libtiff will automatically slice the single strip image in multiple strips. See the --disable-strip-chopping and --with-default-strip-size configure options (and appropriate nmake.opt switches). That only works for uncompressed images, of course.
Andrey V. Kiselev