Correct loading of BI_BITFIELDS bitmaps

This fixes several minor bugs in the loading of `BI_BITFIELDS` bitmaps,
related to handling different header sizes and the colour and alpha
masks.

Closes #23601.
This commit is contained in:
Brian Nixon 2023-06-03 00:54:02 +01:00 committed by Vadim Zeitlin
parent 6bba7055aa
commit d78e9fb1cb
9 changed files with 57 additions and 17 deletions

View file

@ -148,6 +148,7 @@ set(TEST_GUI_DATA
horse.tif
horse.xpm
image/bitfields.bmp
image/bitfields-alpha.bmp
image/8bpp-colorsused-large.bmp
image/8bpp-colorsused-negative.bmp
image/rle4-delta-320x240.bmp