Summary

  • The GIF89a specification carries a document date of 31 July 1990 and a CompuServe cover sheet that asks encoder authors to delay one LZW feature until January 1991 because too many decoders would break.
  • RFC 2083, published in March 1997, opens by calling PNG "a patent-free replacement for GIF" and states in its rationale that "GIF is no longer freely usable" and "no longer suitable as a universal standard because of legal entanglements". The PNG Second Edition W3C Recommendation of November 2003 kept the same sentences.
  • A licensing claim on one compression algorithm moved cost onto every tool that read images, and the escape route was not a patch to GIF's compression but a new container with a specification that recorded the fight in writing.

The format that shipped with an apology

GIF89a does not begin with a triumphant description of a graphics format. It begins with a cover sheet about a deferred clear code in LZW compression.

The problem was small and entirely about installed software. When a decoder's string table fills up, the encoder may keep using it without clearing. Some decoders handled that; others did not. The spec's own cover sheet is explicit about the consequence and the remedy: "Because of a large base of decoders that do not handle the decompression in this manner, we ask developers of GIF encoding software to NOT implement this feature until at least January 1991."

That is a vendor asking its own market to wait eighteen months, in capitals, inside the specification. And the same cover sheet says the choice is not a requirement on encoders at all: "It is not required that encoders change their software to take advantage of the deferred clear code, but it is for decoders."

Keep that in view. The 1990 document is a picture of how formats were governed before anyone governed them: one company writes a reference, an installed base decides what is practical, and the gap is managed by a polite request with a date on it.

Why the replacement had to be written

Seven years later, the PNG specification explains itself in the first sentence of its abstract. RFC 2083: "PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF."

The rationale goes further, because the authors knew readers would ask the obvious question: why not keep GIF and swap out the compression method? Section 12.1 answers it.

"GIF is no longer freely usable, but no other commonly used format can directly replace it, as is discussed in more detail below. We might have used an adaptation of an existing format, for example GIF with an unpatented compression scheme. But this would require new code anyway; it would not be all that much easier to implement than a whole new file format."

Section 12.4 is blunter. "GIF is no longer suitable as a universal standard because of legal entanglements." And then, in the same paragraph, a second complaint that has nothing to do with law:

"Only a small subset of the GIF89 spec is actually portable across a variety of implementations, but there is no codification of the most portable part of the spec."

Read that as a verdict on the 1990 cover sheet. The format's usable core had been negotiated in practice, by implementers, over years. Nobody had written it down. So the new format got something the old one never had: a specification precise enough that a portability question could be answered by reading it.

What the replacement refused to inherit

PNG's authors had a cheap option and took the expensive one. Reusing GIF with a different compressor would have cost almost the same effort, by their own admission, so they rebuilt the container and used the rebuild to fix what annoyed them: truecolour instead of a 256-colour ceiling, an alpha channel, gamma correction, and a spec whose vagueness was the thing being replaced.

The result is a document that treats the old format as a list of mistakes. Section 12.2 says the features chosen are meant to address "the needs of applications that previously used the special strengths of GIF", and notes that GIF was well adapted to online communication because of its streamability and progressive display. PNG kept those. Everything else was a subtraction by addition.

That pattern is worth naming, because it is not how compatibility usually works. Formats normally survive by accretion: keep the old parts, bolt on the new, never break a decoder. PNG survived by drafting a new file, defining it tightly, and shipping it beside GIF rather than over it. Two formats, both alive, one of them carrying a paragraph explaining why it had to be born.

The sentence that stayed

The March 1997 RFC was an Informational document. PNG then went through the W3C's process, and in November 2003 the Second Edition Recommendation carried the same framing forward, including the phrase "patent-free replacement for GIF".

The interesting part is that a standards body was repeating a claim about the legal status of a competitor format. Not a technical claim, not a royalty schedule, not a licence text. A one-line assertion, inside a normative document, that the older format could not be used freely and that this new one could.

That sentence did real work. It told every implementer choosing a format for a new program that one option carried an obligation and the other did not. It also dated itself: nothing in the PNG specification says who held the obligation, what it covered, how much it cost, or when it would end. The document records a conclusion and drops the argument.

A standard as a fossil record

RFC 2083 is unusually honest about being a reaction. Its authors did not claim to be designing in a vacuum; they said the world needed a new graphics format because the existing one had become expensive and because nobody had ever codified its portable core.

The cost of that honesty is a permanent oddity. Every reader of the specification learns that a compression method's legal status was a design input for a container format. Users, meanwhile, treat the formats as interchangeable: images arrive with whichever extension the tool chose, and no software asks which one carries a licence.

A format can outlive the reason it existed and still be the thing you open. GIF did that. PNG's specification is the receipt.