AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.07.20 20:14 "[Tiff] Reading the strip byte count array", by Christian Henning
2007.07.23 11:03 "Re: [Tiff] Reading the strip byte count array", by Andrey Kiselev
2007.07.23 15:36 "Re: [Tiff] Reading the strip byte count array", by Christian Henning
2007.07.23 20:43 "Re: [Tiff] Reading the strip byte count array", by Andrey Kiselev

2007.07.23 20:43 "Re: [Tiff] Reading the strip byte count array", by Andrey Kiselev

On Mon, Jul 23, 2007 at 11:36:58AM -0400, Christian Henning wrote:

 toff_t* stripbytecounts;
 TIFFGetField(tif, TIFFTAG_STRIPBYTECOUNTS, &stripbytecounts);

Thanks a lot for this. Seems that libtiff is allocating the memory itself. Will it also deallocate it?

Yes, of course. You will get a pointer to internal array of counts which is used by libtiff to read the file.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517