Add support for Decoding BI_ALPHABITFIELDS#832
Merged
JimBobSquarePants merged 3 commits intoSixLabors:masterfrom Feb 11, 2019
Merged
Add support for Decoding BI_ALPHABITFIELDS#832JimBobSquarePants merged 3 commits intoSixLabors:masterfrom
JimBobSquarePants merged 3 commits intoSixLabors:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #832 +/- ##
==========================================
+ Coverage 88.84% 88.84% +<.01%
==========================================
Files 1015 1015
Lines 44148 44167 +19
Branches 3180 3181 +1
==========================================
+ Hits 39222 39241 +19
Misses 4201 4201
Partials 725 725
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #832 +/- ##
==========================================
+ Coverage 88.84% 88.84% +<.01%
==========================================
Files 1015 1015
Lines 44148 44167 +19
Branches 3180 3181 +1
==========================================
+ Hits 39222 39241 +19
Misses 4201 4201
Partials 725 725
Continue to review full report at Codecov.
|
Member
|
@brianpopow Just so you know you are now known as the Bitmap King 👑 |
antonfirsov
pushed a commit
to antonfirsov/ImageSharp
that referenced
this pull request
Nov 11, 2019
* Adds support for BI_ALPHABITFIELDS * Fix for decoding bitmaps with a less than full sized palette
This was referenced Jul 30, 2025
This was referenced Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisites
Description
This PR add the support for decoding bitmaps with the compression type: BI_ALPHABITFIELDS.
This is a special kind of bitmap type which was introduced with windows CE: https://docs.microsoft.com/en-us/previous-versions/windows/embedded/aa452885(v%3Dmsdn.10)
This also fixes an issue with a rare edge case, decoding bitmaps with a less than full sized palette.