Fix Decoding 8-Bit interlaced grayscale png's with alpha channel#830
Merged
JimBobSquarePants merged 2 commits intoSixLabors:masterfrom Feb 5, 2019
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #830 +/- ##
==========================================
- Coverage 88.74% 88.71% -0.04%
==========================================
Files 1015 1015
Lines 44121 44138 +17
Branches 3178 3178
==========================================
+ Hits 39157 39158 +1
+ Misses 4236 4216 -20
- Partials 728 764 +36
Continue to review full report at Codecov.
|
Member
|
@brianpopow Perfect! Thanks very much for this 👍 |
Collaborator
Author
|
@JimBobSquarePants: you are welcome |
4 tasks
antonfirsov
pushed a commit
to antonfirsov/ImageSharp
that referenced
this pull request
Nov 11, 2019
This was referenced Jul 30, 2025
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 fixes an issue with decoding 8-Bit interlaced grayscale images. The offset was not calculated correctly.
Here is an example image:
This was decoded as: