Skip to content

Consider transparency when applying APNG blend mask#7018

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:apng
Mar 23, 2023
Merged

Consider transparency when applying APNG blend mask#7018
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:apng

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
@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