AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.06.16 08:56 "[Tiff] Split one single strip into multiple strips in a single Tiff file", by Rob Eisink
2008.06.16 18:57 "RE: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Chris Cox
2008.06.17 07:53 "RE: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Rob Eisink
2008.06.17 11:45 "Re: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Andrey Kiselev
2008.07.24 15:45 "RE: [Tiff] Converting from Jpeg compressed Tiff", by Argo Abramian
2008.07.23 23:05 "[Tiff] Converting from Jpeg compressed Tiff", by Argo Abramian
2008.07.23 23:23 "Re: [Tiff] Converting from Jpeg compressed Tiff", by Chris Cox
2008.07.24 01:09 "Re: [Tiff] Converting from Jpeg compressed Tiff", by Bob Friesenhahn
2008.07.24 16:48 "RE: [Tiff] Converting from Jpeg compressed Tiff", by Bob Friesenhahn
2008.07.25 13:15 "Re: [Tiff] Converting from Jpeg compressed Tiff", by
2008.07.24 19:19 "Re: [Tiff] Converting from Jpeg compressed Tiff", by Chris Cox
2008.07.25 04:25 "RE: [Tiff] Converting from Jpeg compressed Tiff", by Grissom, Ed

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.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517