GIF

A lossless indexed-color format supporting up to 256 colors with frame animation, widely used for short looping clips.

GIF (Graphics Interchange Format) was developed by CompuServe in 1987. It uses LZW (Lempel-Ziv-Welch) lossless compression with an indexed color model, selecting up to 256 colors from a palette to represent each frame of the image.

It supports multi-frame animation within a single file. Each frame specifies a display duration and disposal method, and browsers render the animation natively without plugins.

The 256-color limitation makes GIF unsuitable for photographs or smooth gradients, where dithering artifacts become visible. For animation use cases, full-color formats such as WebP and AVIF are also available.

Related Terms

Related Articles