AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2017.01.20 19:06 "[Tiff] Fwd: TIFF image displayed upside down", by Vincent Torri
2017.01.20 19:19 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Jürgen_Buchmüller
2017.01.20 19:31 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Vincent Torri
2017.01.20 19:24 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Bob Friesenhahn
2017.01.20 19:33 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Vincent Torri
2017.01.20 19:54 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Bob Friesenhahn
2017.01.20 19:52 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Olivier Paquet
2017.01.20 19:57 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Vincent Torri
2017.01.20 20:07 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Bob Friesenhahn
2017.01.20 20:08 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Olivier Paquet
2017.01.20 22:33 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Mickey Rose
2017.01.27 12:49 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Vincent Torri
2017.01.27 13:00 "[Tiff] Iprovement suggestions of the libtiff documentation", by Vincent Torri

2017.01.20 20:08 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Olivier Paquet

2017-01-20 14:57 GMT-05:00 Vincent Torri <vincent.torri@gmail.com>:

So TIFFRGBAImageGet will always reorient the image and it does it the "windows bitmap" way.

thank you, i know why :)

now, how can I use libtiff to display it correctly? i've tried several things, without success

I meant that this is normal if you use the TIFFRGBA API. You must either reverse the data yourself or get your display toolkit to do it.

You could use a lower level libtiff API but then you'll have to handle the orientation tags yourself so you won't be much better off if you hit a TIFF which is not "top left".

Olivier