FormatSwap › Formats › GIF
The GIF format
Loved, iconic and absurd: using a 1987 palette format for video makes files huge and ugly.
- Full name
- Graphics Interchange Format
- Appeared
- 1987
- File extensions
- .gif
- Our verdict
- Discontinue it See why
History
Why it was invented
In 1987, downloading a picture was slow, and often failed because computers couldn't read one another's files. That year, CompuServe's magazine Online Today called such incompatibility “the nemesis of any serious computer user”.[1] CompuServe wanted to show things like colour weather maps, but its existing format for downloads was black and white only.[1][2] Steve Wilhite, who had an interest in compression, thought he could help.[1]
GIF used LZW compression, which was more efficient than the run-length encoding used by formats such as PCX and MacPaint, so fairly large images could be downloaded in reasonable time even over slow modems.[2] Accounts differ on credit. CompuServe's magazine and the Webby Awards honoured Wilhite as its inventor, while Greg Roelofs's history of PNG names Bob Berry as the designer.[1][3]
What it was first used for
“I saw the format I wanted in my head and then I started programming,” Wilhite recalled. The first image he made with it was a picture of an aeroplane. After a prototype that took about a month, GIF was released in June 1987.[1] Wikipedia gives the date as 15 June.[4]
Its first users were CompuServe's own customers, in the service's file download areas.[2] Once colleagues saw it, they dropped work on other black-and-white formats.[1] Interlacing helped too: a partly downloaded image was already recognisable, so people could stop a download that wasn't what they wanted.[2]
What happened next
The 89a revision is named after 1989, and its programming reference is dated 31 July 1990.[5] The patent problem arrived in late 1994, when CompuServe and Unisys announced an agreement to collect royalties from authors of GIF software, which led directly to PNG.[3] Animation then revived the format, when the first Netscape 2.0 betas in October 1995 supported animated GIFs.[3] The US LZW patent expired in June 2003, and the European and Japanese patents in June 2004.[2]
In 2013, Wilhite received a lifetime achievement Webby Award, and he used the moment to settle the pronunciation: “It is a soft ‘G,’ pronounced ‘jif.’ End of story.”[1]
Pros and cons
Pros
- Animates everywhere, with no player or controls required.
- Universally supported, with expired patents.
- Fine for small, simple graphics.
Cons
- Limited to 256 colours per frame, so video looks grainy and banded.
- Files are often 10 or more times the size of an equivalent MP4.
- Transparency is all-or-nothing, with no soft edges.
- No sound.
Use cases
- Short, simple animations of a few seconds.
- Email signatures and systems that block video.
Pitfalls
- Many sites labelled “GIF” serve MP4 or WebP, and a saved copy may not be a GIF at all.
- A few seconds at full resolution can run to tens of megabytes. Reduce the width and frame rate.
- Flashing GIFs can be an accessibility hazard, and they play without a pause button.
Should GIF be discontinued?
Discontinue it
Discontinue the format, and keep the word. Everything people love about “GIFs” is silent, looping, instant playback, and a muted looping MP4 or AVIF does that with far better colour at a tenth of the size. Major platforms quietly made that swap years ago.
Its survival wastes staggering amounts of bandwidth to preserve a 256-colour limit from 1987. Let “gif” mean a short looping clip, as it already does in everyday speech, and retire the file format itself.
This verdict is FormatSwap's opinion. “Discontinue” means stop creating new files, not stop reading old ones. How we decide.
GIF files in FormatSwap
Media Converter opens and creates GIF files.
Related formats
Sources
Numbers in the history above link to these pages. They cover the history section only; the pros, cons and verdict are our own assessment.
- GIF Creator, Steve Wilhite, Receives Lifetime Achievement Webby Award (21 May 2013), The New York Times
- GIF Graphics Interchange Format, Version 89a, Library of Congress, Sustainability of Digital Formats
- History of PNG, Greg Roelofs, libpng.org
- GIF, Wikipedia
- Graphics Interchange Format, Version 89a, CompuServe, hosted by W3C