This is an old version, saved 3 Dec 2026, 15:26 by TechWritereditor. It is the current version.

Portable Network Graphics

Portable Network Graphics (PNG) is a file format for storing raster images with lossless compression, so that decoding reproduces the original image data exactly.[2] It was designed as a patent-free replacement for the GIF format.[2]

Contents
  1. History
  2. How it works
  3. Adoption
  4. See also
  5. References

History

GIF used LZW compression, on which Unisys held a patent. In late 1994 Unisys pursued CompuServe, which agreed to collect royalties from authors of software that supported GIF; the deal was quietly announced on 28 December 1994.[1] The reaction on the Usenet group comp.graphics led to an informal group, led by Thomas Boutell, that set out to design a successor.[1] Boutell posted a first draft, called "PBF" (Portable Bitmap Format), on 4 January 1995, and the name PNG was adopted in Draft 5 on 23 January.[1] The specification was frozen in early March 1995, and the first usable libraries, zlib and libpng, appeared on 1 May 1995.[1]

The World Wide Web Consortium made PNG 1.0 a full Recommendation on 1 October 1996, and the Internet Engineering Task Force published it as RFC 2083 in January 1997.[1][3] Version 1.1 (1998) and version 1.2 (1999) added colour-management and international text chunks.[3] The Second Edition, published by the W3C in November 2003, has the same text as ISO/IEC 15948:2004.[3] A Third Edition became a W3C Recommendation on 24 June 2025.[2]

How it works

Every PNG file begins with a fixed eight-byte signature followed by a series of chunks, each with a length, type, data and checksum.[2] The critical chunks are IHDR (header), PLTE (palette), IDAT (image data) and IEND (end).[2] PNG supports greyscale, truecolour and indexed-colour images, with optional alpha transparency and sample depths of 1 to 16 bits.[2] Each scanline is filtered before being compressed with DEFLATE, and optional Adam7 interlacing allows progressive display.[2] The Third Edition added support for high dynamic range, Exif metadata and animated PNG (APNG).[2]

Adoption

Browser support arrived in 1997, and by 2005 most browsers supported PNG.[1][3] The US Library of Congress holds more than 52 million PNG files and recommends the format for several image types.[3] Its main limitation is the lack of CMYK colour support for print.[3]

See also

References

  1. ^ History of the Portable Network Graphics (PNG) Format. libpng.org (Greg Roelofs). libpng.org
  2. ^ Portable Network Graphics (PNG) Specification (Third Edition). World Wide Web Consortium. 2025-06-24. w3.org
  3. ^ PNG (Portable Network Graphics) – Sustainability of Digital Formats. Library of Congress. loc.gov