2002.02.20 00:27 "problem writing TIFF file in one strip", by David Strip

2002.02.20 21:40 "Re: problem writing TIFF file in one strip", by David Strip

The answer to my own question (in case anyone cares):

I was trying to write out my image in a single strip using:

  int bytes_written = TIFFWriteRawStrip(tif, 1, reinterpret_cast<void*>(image[0]), image.n() * 4);

of course, had I tried to do multiple strips, I would have looped from 0 to strip -1. You'll note the above line writes the single strip as strip 1, when it should have been strip 0.