GIF optimization tool using WebAssembly and Gifsicle

Simon Willison Blog
Generative AI AI Research

Agentic Engineering Patterns > I like to include animated GIF s in my online writing, often recorded using LICEcap. There's an example in the Interactive explanations chapter. These GIFs can be pretty big. I've tried a few tools for optimizing GIF file size and my favorite is Gifsicle by Eddie Kohler. It compresses GIFs by identifying regions of frames that have not changed and storing only the differences, and can optionally reduce the GIF color palette or apply visible lossy compression for greater size reductions. Gifsicle is written in C and the default interface is a command line tool.