2005.04.17 06:12 "[Tiff] How do I access the data once I use TIFFReadEncodedStrip?", by Phillip Wiles

2005.04.18 20:56 "Re: [Tiff] How do I access the data once I use TIFFReadEncodedStrip?", by Phillip Wiles

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)];

etc

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)?