Optimize animated GIF
For permanent links you can use: https://ezgif.com/optimize?url=https://example.com/source-image.gif
Mục lục
Lossy GIF compression
GIF compressor optimizes GIFs using Gifsicle and Lossy GIF encoder, which implements lossy LZW compression.
It can reduce the animated GIF file size by 30%—50% at the cost of some dithering/noise. You can adjust the compression level with a simple slider to get the best result for your use case.
This is the default method and should work for any GIF.
Color Reduction
This tool shrinks the GIF file size by reducing the number of colors in each frame.
Each GIF frame can use up to 256 unique colors, and by reducing this number, you can achieve a smaller file size.
It makes multiple variations of your input image, and you can choose the one with the best size/quality ratio for your needs.
Remove every nth frame
The frame drop option can remove every second, third, or fourth frame to reduce frame rate and, therefore, file size.
Useful for long gifs with a high frame rate.
Another option is to remove only duplicate frames. This method will search for identical or very similar consecutive frames, remove them and merge their display duration.
This will not do anything for most GIFs but can be useful in some special cases.
Optimize Transparency
This option keeps the first frame in the background and makes unchanged parts of the following frames transparent.
The results heavily depend on the nature of the image. It may give huge file size reduction in some cases when images have large, static areas, e.g., a recorded screen capture of some program. It will give poor results for converted videos or photo slide shows, where most pixels between each frame are significantly different. The fuzz factor represents how similar colors can be considered as equal.
If you can’t achieve the file size you require with these methods, consider resizing the image to smaller dimensions or cutting the animation duration.
Read more about GIF optimization »