Skip to content

Commit 8a3e8d1

Browse files
brianpopowJimBobSquarePants
authored andcommitted
Add support for Decoding BI_ALPHABITFIELDS (SixLabors#832)
* Adds support for BI_ALPHABITFIELDS * Fix for decoding bitmaps with a less than full sized palette
1 parent 76a8467 commit 8a3e8d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ImageSharp.Tests/TestImages.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ public static class Bmp
221221
public const string Bit8Palette4 = "Bmp/pal8-0.bmp";
222222
public const string Os2v2Short = "Bmp/pal8os2v2-16.bmp";
223223
public const string Os2v2 = "Bmp/pal8os2v2.bmp";
224+
public const string LessThanFullSizedPalette = "Bmp/pal8os2sp.bmp";
224225
public const string Pal8Offset = "Bmp/pal8offs.bmp";
225226

226227
// Bitmap images with compression type BITFIELDS
@@ -232,6 +233,7 @@ public static class Bmp
232233
public const string Issue735 = "Bmp/issue735.bmp";
233234
public const string Rgba32bf56 = "Bmp/rgba32h56.bmp";
234235
public const string Rgba321010102 = "Bmp/rgba32-1010102.bmp";
236+
public const string RgbaAlphaBitfields = "Bmp/rgba32abf.bmp";
235237

236238
public static readonly string[] BitFields
237239
= {

0 commit comments

Comments
 (0)