2006.07.21 12:40 "[Tiff] How to save in tiff format file?", by Toh kc

2006.07.25 11:45 "Re: [Tiff] How to save in tiff format file?", by Gerben Vos

Toh kc wrote:

  1. 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);

Gerben Vos.