Skip to content

Is there a way to save a coalesced gif? #7145

Answered by radarhere
lucasvickers asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, ok. It's not possible to do this using Pillow's public API. However, you can workaround that by adding in the following code when generating your image.

from PIL import GifImagePlugin
GifImagePlugin._getbbox = lambda a, b: (0, 0) + a.size

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@lucasvickers
Comment options

@radarhere
Comment options

Answer selected by lucasvickers
@lucasvickers
Comment options

Comment options

You must be logged in to vote
1 reply
@lucasvickers
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants