Skip to content

Conversation

@brianpopow
Copy link
Collaborator

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

This PR fixes an issue that HasTransparency is not set for index PNG's.
This fixes #2209

@JimBobSquarePants
Copy link
Member

Thanks for this @brianpopow I tweaked it slightly to ensure that the assignment only happens when the alpha chunk has a length

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetPngMetadata does not set HasTransparency correctly for palette-based PNGs

3 participants