Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider transparency when applying APNG blend mask #7018

Merged
merged 1 commit into from Mar 23, 2023

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Mar 16, 2023

Resolves #7015

I created the test image using Pillow. The second frame is transparent. If you open it in an image viewer, you will see that the second image is red, because that transparent frame has been blended onto the first red frame. This PR uses transparency when blending.

@hugovk hugovk merged commit 745f540 into python-pillow:main Mar 23, 2023
59 checks passed
@radarhere radarhere deleted the apng branch March 23, 2023 12:57
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.

Error converting APNG to WEBP
2 participants