2004.05.20 13:57 "Re: [Tiff] Orientation of TIFF images", by Andrey Kiselev
Is there any way by which we can force the libtiff library to return the data always in TOP-LEFT orientation, no matter what is the actual orientation of image data?
Or, is there any other round-about way by which we can achieve that?
There is a special function TIFFGetRGBAImageOriented() for that purpose. But it always reads the whole image into the memory and always converts pixels to RGBA representation. If you are using TIFFReadStrip/Tile functions you should take care of orientation yourself.
Andrey
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517