What is it
PNG is an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel for transparency. Sample depths range from 1 to 16 bits.
Status
The PNG specification was issued as a W3C Recommendation on 1st October, 1996 (press release). It is available in several formats:
- One big HTML file (215k) or gzipped (68k)
- Multiple HTML files, starting here
- Plain text (235k) or gzipped (69k)
- PostScript (338k) or gzipped (116k) or PDF (306k)
This means it is a mature document that is considered to contribute towards realising the full potential of the Web. Viewers for PNG are available on many platforms; there are an increasing number of content creation tools available; and thus modern browsers implement support for it also.
MIME type
The MIME type for PNG, approved on 14 October 1996, is
Image/png
More information
The official PNG home page is maintained by Greg Roelofs and includes a frequently updated listing of Web browsers that support PNG (including plug-ins), helper applications, and content creation tools (both interactive editors and conversion tools).
You can also read The Story of PNG
If you are not sure just what the gamma and chromaticity features actually mean in real life, look at this description to see how they contribute towards improved cross-platform graphics. PNG also has a novel interlacing scheme which provides a usable graphic faster; and the inclusion of metadata in the file means that search engines can find graphics based on their descriptions rather than their filenames.
Browser testing
See if your browser supports PNG and if so, whether it handles gamma and alpha correctly.