2017.01.20 19:06 "[Tiff] Fwd: TIFF image displayed upside down", by Vincent Torri

2017.01.20 19:31 "Re: [Tiff] Fwd: TIFF image displayed upside down", by Vincent Torri

On Fri, Jan 20, 2017 at 8:19 PM, Jürgen Buchmüller <pullmoll@t-online.de> wrote:

Am Freitag, den 20.01.2017, 20:06 +0100 schrieb Vincent Torri:

so the result is like I display the lines in the reverse order (from bottom to top, and not from top to bottom)

Is the framework you're using based on Windows bitmaps? For Windows bitmaps with positive height (structure member BITMAPINFOHEADER::bihHeight > 0) the scanline order is bottom to top.

i know this (I did the windows port of that framework). It is a cross platform one and the other images (png, jpeg, etc...) are correctly displayed

Vincent Torri

Perhaps it's sufficient, if you set the height of the image in the framework to the negative value of the real height (length in terms of TIFF).

HTH
Jürgen