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

For GIF save_all with palette, do not include palette with each frame #5603

Merged
merged 1 commit into from Aug 13, 2021

Conversation

radarhere
Copy link
Member

Resolves #3788

At the moment,

im.save("output.gif", save_all=True, palette=palette.palette)

will include the palette with each frame of the GIF. This PR instead includes the palette in the global header, and none of the frames. This is a measure to reduce the filesize, so it helps #617

@radarhere radarhere added the GIF label Jul 11, 2021
@hugovk hugovk merged commit a7f5b25 into python-pillow:master Aug 13, 2021
@radarhere radarhere deleted the gif_palette branch August 13, 2021 10:21
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.

GIF - use single colour table for all frames
2 participants