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

Fixed saving L mode GIF with background as WebP #6147

Merged
merged 1 commit into from Mar 26, 2022

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Mar 21, 2022

Resolves #6145

im.info["background"] contains a single integer after opening a GIF. WebP would like this in RGBA form instead.

#3471 added this for P mode GIFs. This PR adds it for L mode GIFs.

@radarhere radarhere marked this pull request as ready for review March 22, 2022 09:19
@hugovk hugovk merged commit 5ff4a13 into python-pillow:main Mar 26, 2022
@radarhere radarhere deleted the webp branch March 26, 2022 21:00
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.

Saving animated GIF as WebP raises "Background color" error
2 participants