Skip to content

Why do animated GIFs from Pillow not work in MS Teams? #6207

Answered by raygard
raygard asked this question in Q&A
Discussion options

You must be logged in to vote

@smccombie Scott, I have written a program (uploaded as a gist), fix_gif.py. It will "Re-order GIF file sections if needed, so "NETSCAPE2.0" animation loop extension is immediately after header and global color table (if latter is present), followed by all other application extensions, then all comment sections (with duplicates removed), then all other sections in original order. The code may be modified easily to put comment sections and other application extensions at the end, but Pillow 9.1.0 does not work well with sections after the last image data section."

I'd like you to try it on some of the GIFs that are giving you trouble in Teams. Please let me know if this helps. If so, I'd l…

Replies: 5 comments 21 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
13 replies
@radarhere
Comment options

@smccombie
Comment options

@raygard
Comment options

@smccombie
Comment options

@raygard
Comment options

Comment options

You must be logged in to vote
2 replies
@raygard
Comment options

@smccombie
Comment options

Comment options

You must be logged in to vote
6 replies
@raygard
Comment options

@radarhere
Comment options

@radarhere
Comment options

@radarhere
Comment options

@radarhere
Comment options

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