AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.03.22 21:12 "[Tiff] wrong orientation using TIFFReadRGBAStrip", by Massimiliano Mazzeschi
2005.03.23 01:15 "Re: [Tiff] wrong orientation using TIFFReadRGBAStrip", by Ron

2005.03.22 21:12 "[Tiff] 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

___________________________________ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! http://it.messenger.yahoo.it