Pascal Massimino 480cd51de6 BMP enc: fix the transparency case
When transparency is present, it's not enough to just write 32bpp samples.
One need to use the full BITMAPV3INFOHEADER syntax and specify the
masks for BGRA.

 see https://en.wikipedia.org/wiki/BMP_file_format#Pixel_storage

Also remove the height-flip trick and write samples bottom-to-top instead.

Change-Id: If5d92c11453b96764b5bfbf19e9678e632bc911f
2022-01-12 07:48:01 +01:00
..
2017-03-03 11:19:48 +01:00
2022-01-12 07:48:01 +01:00
2020-01-06 23:48:40 +01:00
2017-03-05 09:38:51 +00:00