ormat) A popular bitmapped graphics file format developed by CompuServe. Pronounced "giff" with a hard "g" or "jiff" (take your pick), GIF images are widely used on the Web because the format uses its own form of compression.
GIF supports 8-bit color (256 colors), but gets the most mileage out of its limited colors by using a built-in color palette. For example, the palette for an image of a forest would mostly contain shades of green and brown. If colors are within a tight range, this method provides extraordinary realism in an 8-bit image. See indexed color
GIF87a and GIF89a
The original GIF87a and subsequent GIF89a are named after their year of introduction. GIF89a allows one of the colors to be transparent and reflect the background color of the underlying page or window (see alpha channel
). GIF89a also supports animation by rendering multiple frames in sequence (see animated GIF
GIFs and JPEGs
Both GIF and JPEG images are widely used on the Web and are supported by all Web software. Charts, screen shots and technical drawings are typically GIFs, because GIFs uses lossless compression, and the text is maintained properly. Photos are generally better rendered as JPEGs, which support 24-bit color and can be highly compressed (see JPEG
). See GIF patents
, lossless compression
, graphics formats
More Shades Than Apparent
Even More Colors
At first glance, it looks like the Android robot logo is only green, white and black. Zooming into one of its antennas shows more shades (see dithering
The GIF format picks the 256 most used colors in an image. Notice how the colors in the palettes match the two images.