|AWARE [SYSTEMS]||Imaging expertise for the Delphi developer|
|TIFF and LibTiff Mailing List Archive|
LibTiff Mailing List
2005.04.18 20:56 "Re: How do I access the data once I use TIFFReadEncodedStrip?", by Phillip Wiles
Chris Losinger wrote: > > buf is a void * pointer, so it isn't really addressing single > bytes - it's just a pointer to the start of *something*. that's the > "unknown size" error. if you want to print individual characters, you > can do something like: > > char *p = (char *)buf; > std::cout << p[x + (height *y)]; TIFFReadEncodedStrip returns 200, 200 * 8= 1600 & 40*40=1600. So am I right in assuming that buf is a bit vector of chars (at least in my case of a 40 x40 group 3 image)?