2008.02.11 07:43 "[Tiff] TIFFReadRGBAImage rendering upside-down", by Mick O'Neill

2008.02.11 07:43 "[Tiff] TIFFReadRGBAImage rendering upside-down", by Mick O'Neill

Hi,

I have some odd TIFF files here (that do have a subsampling error being reported for the OJPEG compressed images) that, when I call the TIFFReadRGBAImage function, renders the RGBA upside down (flipped, not rotated). I was wondering if there was something in the TIFF headers that tell me this is happening? Or perhaps some other info elsewhere. There are some applications around that read these TIFFs correctly, and others that will not read them at all.

libtiff version 3.9.0 Beta

Any ideas appreciated.

Sample file can be downloaded from http://midimick.com/Test1.tif

Cheers

Mick O'Neill
Software Engineer