| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.08.04 14:32 "Re: libTiff and MSVC 6.0", by Gerben VosSean Burke wrote:
> if((TIFFWriteEncodedStrip(tif, 0, buf, width*height)) == -1){
> The above code is simple enough and doesn't appear to contain any
> obvious bugs.
Well, I think I can catch one. :-) Since you're writing 16-bit data,
this should be:
> if((TIFFWriteEncodedStrip(tif, 0, buf, width*height*2)) == -1){
However, this doesn't really explain the exception you're getting.
I'm afraid I can't help you with that.
Gerben Vos.
|
|||||||