2012.05.29 13:27 "[Tiff] libtiff and orientation data", by Stunton

2012.05.29 13:27 "[Tiff] libtiff and orientation data", by Stunton

Hello,

I have an orientation problem with libtiff.

I read the red canal of an image, using TIFFGetR(raster[i]).

The data are read top-to-bottom.

Ok.

When I wrote a tiff using TIFFWriteRawStrip(), the data are written bottom-to-top?! (the tiff is a 8bits grayscale uncompressed with one strip per row).

What am I doing wrong?