simutrans 2020 GDI
When I load bmp height map, the image rotates 180 degree.
And superfluity pixel causes misalignment of image.
I think bmp stores last pixel first.
Yes, bmp is written backwards, at least the 24bpp colour variant (open some on the web and see for yourself). But not really backwards, only lines are from bottom to top, pixels within lines are left to right:
Well, height can be negative, and in this case the bitmap is the other way round. Which bitmap is off? Usually padding in 24Bit is strange. (Actually, I have well working routines at university, but the backup is not working for some days, so I had the write them frommemory and Wikipedia docu.) Will look at it.
solved in r2022. Thank you.