AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.02.11 07:43 "[Tiff] TIFFReadRGBAImage rendering upside-down", by Mick O'Neill
2008.02.11 16:03 "Re: [Tiff] TIFFReadRGBAImage rendering upside-down", by Frank Warmerdam
2008.02.11 17:20 "RE: [Tiff] Re: Help with TIFFWriteScanline()", by Chris Cox
2008.02.11 15:52 "[Tiff] Help with TIFFWriteScanline()", by James Sumners
2008.02.11 16:33 "[Tiff] Re: Help with TIFFWriteScanline()", by James Sumners
2008.02.11 16:38 "[Tiff] Re: Help with TIFFWriteScanline()", by James Sumners
2008.02.11 17:29 "Re: [Tiff] Re: Help with TIFFWriteScanline()", by Gerben Vos
2008.02.11 17:11 "Re: [Tiff] Help with TIFFWriteScanline()", by Gerben Vos
2008.02.12 02:31 "Re: [Tiff] Re: Help with TIFFWriteScanline()", by James Sumners
2008.02.12 00:29 "RE: [Tiff] TIFFReadRGBAImage rendering upside-down", by Mick O'Neill
2008.02.12 01:27 "RE: [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