AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.05.29 13:27 "[Tiff] libtiff and orientation data", by Stunton
2012.05.30 13:13 "Re: [Tiff] libtiff and orientation data", by Stunton
2012.05.30 13:38 "Re: [Tiff] libtiff and orientation data", by Bob Friesenhahn
2012.05.30 14:51 "Re: [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?