2007.07.23 15:36 "Re: [Tiff] Reading the strip byte count array", by Christian Henning
But even when I use this number the function
uint32 buffer[222];
TIFFGetField( img, TIFFTAG_STRIPBYTECOUNTS, &buffer );
That's wrong. Use the following snippet:
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?
Christian