Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Dec 12, 2020

Resolves #4941

At the moment, Image.putpalette can only accept 256 RGB values. As the issue found, this means that alpha values cannot be included. This PR allows 256 RGBA values as well, by stripping out every 4th value for info["transparency"] in load().

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transparent png converted to green

2 participants