AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.03.22 21:12 "wrong orientation using TIFFReadRGBAStrip", by Massimiliano Mazzeschi
2005.03.23 01:15 "Re: wrong orientation using TIFFReadRGBAStrip", by <ron@debian.org>

2005.03.22 21:12 "wrong orientation using TIFFReadRGBAStrip", by Massimiliano Mazzeschi

Hi !

I'm trying to use TIFFReadRGBAStrip to read tif
images, but I've got images with the wrong
orientation.

my call stack is: 
TIFFReadRGBAStrip->TIFFRGBAImageGet->gtStripContig
The function setorientation (tif_getimage.c) is called
to understand which kind of flip needs to obtain a
''standard'' BOTLEFT image from any oriented image.
My image is RIGHTTOP, and the function returns
FLIP_HORIZONTALLY | FLIP_VERTICALLY, but is wrong ! 
I suppose it should rotate and flip to do the right
thing.

Could anyone help me ?

many thanks
Max