Why Early GIF Developers Faced Patent Lawsuits

In the 1990s, early software developers faced patent infringement claims and lawsuits for creating GIF encoders due to a hidden proprietary algorithm embedded in the format: Lempel-Ziv-Welch (LZW) compression. Although CompuServe designed the Graphics Interchange Format (GIF) in 1987 as an open standard for web and online graphics, the compression technique it relied upon had been patented by the Unisys Corporation. When Unisys decided to aggressively enforce its patent rights years later, it demanded licensing fees from commercial and independent developers alike, sparking an industry-wide legal crisis.

The Origin of the LZW Patent

The technical foundation of the dispute began in 1984 when Terry Welch published an improved version of Abraham Lempel and Jacob Ziv's data compression method, creating the LZW algorithm. Welch was working for Sperry Corporation, which filed for a patent on the technique in 1983. In 1986, Sperry merged with Burroughs Corporation to form Unisys, inheriting the patent (U.S. Patent 4,558,302), which had been granted in December 1985.

In 1987, CompuServe sought an efficient, lossless image format to display color images across different computer platforms. Unaware that Unisys held a patent on LZW, CompuServe adopted the algorithm as the core compression mechanism for the GIF format and made the specification publicly available for widespread adoption.

The 1994 Licensing Agreement and Backlash

For years, developers integrated GIF support into web browsers, image editors, and graphics libraries assuming the format was free to use. That changed in December 1994, when Unisys and CompuServe jointly announced that developers producing commercial software capable of generating or reading GIF files would have to pay licensing royalties to Unisys.

This sparked immediate outrage across the growing software development community. Independent programmers, shareware authors, and emerging internet businesses felt blindsided by the sudden commercial enforcement of a format that had served as a de facto open standard for seven years.

Why Encoders Faced the Heaviest Scrutiny

The Unisys patent claims specifically covered the methods used to compress data into an LZW stream. Because creating a GIF file requires the data to be compressed, any software functioning as a GIF encoder directly executed the patented algorithm.

In 1999, Unisys escalated its enforcement by introducing a flat-rate licensing policy for websites, non-commercial software, and open-source projects using unlicensed GIF-generating software. Software authors who wrote code to generate GIFs—even in free or open-source software—found themselves legally liable for patent infringement unless they or their users purchased a license from Unisys.

The Aftermath: The Creation of PNG

The legal threats from Unisys galvanized the computing community to eliminate reliance on proprietary formats. In response to the GIF licensing controversy, the World Wide Web Consortium (W3C) and independent developers created the Portable Network Graphics (PNG) format in 1995. PNG was explicitly engineered to be patent-free, using the Deflate algorithm, and technically superior to GIF for static web images. Activist campaigns like the "Burn All GIFs" movement encouraged webmasters to purge GIF files from their servers.

The patent infringement threats finally dissolved when the primary U.S. LZW patent expired in June 2003, followed by corresponding international patents in Canada, Europe, and Japan by mid-2004, permanently placing the GIF format into the public domain.