Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #5656

Using the image from that issue,
input

from PIL import Image
im = Image.open("input.gif")
im.seek(2)
im.save("out.png")

Before
before

After
after

@radarhere radarhere added the GIF label Oct 11, 2021
@hugovk hugovk merged commit ac74226 into python-pillow:master Oct 12, 2021
@radarhere radarhere deleted the gif_transparency branch October 12, 2021 22:36
@radarhere radarhere changed the title Prefer global transparency over frame transparency when replacing with background color Prefer global transparency in GIF when replacing with background color Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AnimGIF not transparent

2 participants