imgix APIsRendering APIAnimationAnimated GIF Quality

Animated GIF Quality

gif-q

Premium Feature

GIF Quality Optimization functionality is currently available for imgix customers on our Premium plans. If you’re interested in this feature, please contact our sales team to get more information on this feature.

Controls the output quality of animated GIF files, enabling you to optimize and reduce file size as needed.

The scale for gif-q works differently from the q parameter for single-frame images. Instead of a 1-100 scale with 100 being the highest quality, gif-q defaults to the highest quality value of 0 and is open-ended on the amount of compression that can be applied. We recommend a value between 50 and 200 for a good balance of quality and compression, keeping in mind that animated GIF quality is often low to begin with.

Original, 1.8MB
sandbox-demo
gif-q=100, 983kB
sandbox-demo