2012.05.30 13:38 "Re: [Tiff] libtiff and orientation data", by Bob Friesenhahn
> Message du 29/05/12 15:30
> De: "Stunton"
> A: tiff@lists.maptools.org
> Objet: [Tiff] libtiff and orientation dataI 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.
My mistake was here, the data are read bottom-to-top...
No one responded since it was not clear what you were asking. The TIFF data might physically be written in various orders, and even a random order. Libtiff is able to read the data in the order that you request (on a per-strip level), but access might be slower if the order you request is different than the file.
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/