GIF format

GIF format

The GIF format (Graphic Interchange Format) is a bitmap (raster) graphic file format developed by Compuserve.

There are two versions of this file format developed respectively in 1987 and 1989:

  • GIF 87a supporting LZW compression, interlacing (allowing progressive display), a 256 colour palette and the possibility animated images (called animated GIFs) by storing several images within the same file.
  • GIF 89a adding the possibility of defining a transparent colour to the palette and of specifying the time for animations.

Characteristics of the GIF format

A GIF image may contain between 2 and 256 colours (2, 4, 8, 16, 32, 64, 128 or 256) among 16.8 million in its palette. Thus, due to this palette with a limited number of colours (not limited in different colours), the images obtained by this format are generally very small in size.

However, given the proprietary character of the LZW compression algorithm, all software publishers handling GIF images must pay a royalty to Unisys, the company that is the holder of the rights. This is one of the reasons why the PNG format is becoming increasingly more popular, to the detriment of the GIF format.

More information



Last update on Thursday October 16, 2008 02:43:16 PM


This document entitled « GIF format » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.