| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2008.02.11 16:03 "Re: TIFFReadRGBAImage rendering upside-down", by Frank WarmerdamMick O'Neill wrote:
> 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.
Mick,
The tiffinfo reports:
Orientation: row 0 top, col 0 lhs
Which is (I believe) the default case where the first pixel in the file
is the top left corner of the image. I also ran tiff2rgba with the
current development version of libtiff and tiff2rgba and it came out
with the first page "right side up", so I'm surprised you are having problems.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
|
|||||||