2006.07.25 11:45 "Re: [Tiff] How to save in tiff format file?", by Gerben Vos
Toh kc wrote:
- As Bernie Pallek already wrote, it's not quite clear where you get the values Gwidth and Gheight from, and are you sure they are the same as XSIZE and YSIZE?
TIFFWriteScanline(dif, &array[k], k);
I think this should be:
TIFFWriteScanline(dif, &array[k * Gwidth] , k);