2000.05.23 18:52 "Use of TIFFRGBAImageGet", by Dylan Kohler

2000.05.23 18:52 "Use of TIFFRGBAImageGet", by Dylan Kohler

Hi,

Can anyone please explain proper usage of TIFFRGBAImageGet to me? What I would like to do is read the image in in chunks, and have the library convert to standard 32-bit AGBR form (ideally RGBA, but that's another story).

From http://www.libtiff.org/libtiff.html#TIFFRGBAImage, I get the impression that this is possible by repeatedly invoking TIFFRGBAImageGet within a TIFFRGBAImageBegin/End block. I do this, setting height to 1

TIFFRGBAImageGet(&img, raster, img.width, 1);

but this only seems to return the first line. I'd be grateful for any pointers.

Thanks!
Dylan

===========================================
Dylan Kohler         Monkey Boy Productions
dylan@mobopro.com    http://www.mobopro.com