AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 2002

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

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

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.