Graphics Interchange Format

From WikiMD's Wellness Encyclopedia

Graphics Interchange Format[edit | edit source]

The Graphics Interchange Format (GIF) is a bitmap image format that was developed by a team at the online services provider CompuServe led by American computer scientist Steve Wilhite on June 15, 1987. The format has since come into widespread usage on the World Wide Web due to its wide support and portability.

History[edit | edit source]

The GIF format was introduced by CompuServe in 1987 to provide a color image format for their file downloading areas, replacing their earlier run-length encoding (RLE) format, which was black and white only. GIF became popular because it used the Lempel–Ziv–Welch (LZW) lossless data compression technique to reduce the file size without degrading the visual quality.

Technical Details[edit | edit source]

GIF supports up to 8 bits per pixel for each image, allowing a single image to reference a palette of up to 256 different colors chosen from the 24-bit RGB color space. It also supports animations and allows a separate palette of 256 colors for each frame.

Compression[edit | edit source]

The LZW compression algorithm used in GIF was patented in 1985. This led to controversy in the 1990s when the patent holder, Unisys, began enforcing the patent and demanding royalties. The patent expired in 2003, and GIF is now freely usable.

Animation[edit | edit source]

GIF supports animation by allowing a stream of images to be stored in a single file. Each frame can have its own duration, and the entire sequence can loop indefinitely. This feature has made GIF a popular format for short animations and memes on the internet.

Usage[edit | edit source]

GIFs are widely used on the internet for their ability to convey information quickly and effectively. They are commonly used for:

  • Simple graphics with limited colors
  • Short animations and video clips
  • Internet memes

Limitations[edit | edit source]

While GIFs are popular, they have limitations:

  • Limited to 256 colors per frame, which can result in poor quality for detailed images or photographs.
  • Larger file sizes compared to modern formats like PNG or JPEG for similar quality images.

Alternatives[edit | edit source]

Several alternatives to GIF have been developed, including:

  • PNG: A lossless image format that supports 24-bit color and transparency.
  • WebP: A modern image format that provides both lossless and lossy compression.
  • APNG: An extension of PNG that supports animation.

See Also[edit | edit source]

References[edit | edit source]

WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD