Pascal Massimino 827a307fec 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
(cherry picked from commit 480cd51de6b5ed378b194ef77aa6d1bcdaf63da8)
2022-01-19 18:07:17 +00:00
..
2017-03-03 11:19:48 +01:00
2022-01-19 18:07:17 +00:00
2021-11-23 10:13:40 -08:00
2021-11-23 10:13:40 -08:00
2020-01-06 23:48:40 +01:00
2017-03-05 09:38:51 +00:00