PNG (Portable Network Graphics) Home Site
Total Page:16
File Type:pdf, Size:1020Kb
PNG (Portable Network Graphics) Home Site General Information Applications Programming Resources Images Animation If you're using a Windows version of Netscape Navigator and want to print this page (and still be able to read it), click on the png-printable link at the very bottom of this page. FAQ Portable Network Graphics An Open, Extensible Image Format with Lossless Compression (Not Related to Papua New Guinea, the Pawnee National Grassland, the Professional Numismatists Guild or the "Pack 'N' Go" format) Welcome to the PNG Home Site, maintained by Greg Roelofs. Our hero likes to speak of himself in the third person, but don't let that put you off; this is intended to be a mostly serious set of reference pages for locating information, applications and programming code related to the eleven-year-old PNG image format. Search this site Search the web Canonical URL: http://www.libpng.org/pub/png/ (California, USA) Mirror sites: http://libpng.org/pub/png/ (1 of 6)10/23/06 12:43 PM PNG (Portable Network Graphics) Home Site ● http://libpng.rtin.bz/pub/png/ (Pennsylvania, USA) ● http://www.3-t.com/pub/png/ (Texas, USA) ● http://www.libmng.com/pub/png/ (Netherlands) ● http://png.unicast.org/pub/png/ (Denmark) ● http://www.mirrorservice.org/sites/www.libpng.org/pub/png/ (United Kingdom) ● http://libpng.oss-mirror.org/pub/png/ (Ireland) ● http://libpng.linux-mirror.org/pub/png/ (Germany) ● http://dl.ambiweb.de/mirrors/www.libpng.org/pub/png/ (Germany) ● http://png.geosdreams.info/ (Poland) ● http://libpng.nigilist.ru/pub/png/ (Russia) ● http://png.internet.bs/ (Hong Kong) Note that the PNG home site has moved four times since 1995 (though the URL has changed only three times, and hopefully never again). The current site is hosted by the excellent folks at SourceForge. Mirror sites have been provided in Pennsylvania courtesy of Martin Eriksen, in Texas and the Netherlands courtesy of Gerard Juyn and Triple-T Software, in Denmark courtesy of Guan Yang, in the UK courtesy of Dave Beckett and the JISC National Mirror Service, in Ireland and Germany courtesy of Ralf Uhlemann, in Germany courtesy of Tobias Schwarz and AmbiWeb, in Poland courtesy of Piotr Chumicki and Geo's Dreams, in Russia courtesy of Peter Kohts, and in Hong Kong courtesy of Marco Rinaudo and Internet.bs Corp. Thanks! PNG Site Layout The PNG web site is organized into four basic categories of information (blue and white headings below), not counting the separate MNG site (covering PNG's animated and lossy cousins). A complete site map to the 110+ pages is available, but the basics are summarized here. The informal history below is worth reading both for general background and for a summary of PNG's main features, but most people will probably find the basic introduction and the lists of applications to be of the greatest interest and utility. Additions, updates, corrections and suggestions are always welcome. PNG General Information http://libpng.org/pub/png/ (2 of 6)10/23/06 12:43 PM PNG (Portable Network Graphics) Home Site A Basic Introduction to PNG Features (recommended for new visitors) Current Status of PNG (recommended for new visitors) Frequently Asked Questions (recommended for new visitors) An Informal History of PNG (and a More Detailed History) News of the PNG Development Group Links to Other PNG Resources (includes mailing lists) PNG Technical Documentation ● PNG Specification and Extensions (latest version) ● zlib Technical Documentation ● MNG / JNG Technical Documentation PNG: The Definitive Guide and Related Books PNG-Supporting Applications Applications with PNG Support ● Browsers ● Image Viewers ● Image Editors ● Image Converters ● 3D Applications (also VRML Browsers) ● Games / Entertainment ● Office / Business Applications ● Scientific / Graphing Applications ● Miscellaneous Applications Hardware with PNG Support PNG Programming Resources PNG Programming Information: ● PNG-supporting Libraries and Toolkits ● libpng home page ● zlib home page ● libmng home page http://libpng.org/pub/png/ (3 of 6)10/23/06 12:43 PM PNG (Portable Network Graphics) Home Site ● PNG Source Code PNG Images PNG Images: ● Willem van Schaik's Test Suite of PNG Icons ● Greg's Test Suite of PNG Textures for VRML ● Ray-traced PNG Interlacing Demo (also JPEG version) ● Miscellaneous Transparent PNGs using IMG Tags (includes links to screenshots) ● Miscellaneous Transparent PNGs using OBJECT Tags (also strict HTML 4.0 version) ● Miscellaneous 32-bit RGBA PNGs ● Photographic PNGs with Alpha Transparency: ● Icicles ● Redbrush flower (Ohia Lehua) ● Magnolia tree ● Horned Owl ● Browser Gamma-Correction Test ● Browser Color-Correction Test Links to Other PNG Resources (includes pointers to more PNG images) PNG Animation Multiple-image Network Graphics (MNG) Home Site (includes JNG: JPEG with alpha-transparency) What It Be (An Informal History) So what is PNG, and why is it worthy of its own home site? PNG (pronounced "ping") is the Portable Network Graphics format, a format for storing bitmapped (raster) images on computers. Unofficially its acronym stands for "PNG's Not GIF." PNG was designed to be the successor to the once-popular GIF format, which became decidedly less popular right around New Year's Day 1995 when Unisys and CompuServe suddenly announced that programs implementing GIF would require http://libpng.org/pub/png/ (4 of 6)10/23/06 12:43 PM PNG (Portable Network Graphics) Home Site royalties, because of Unisys' patent on the LZW compression method used in GIF. Since GIF had been showing its age in a number of ways even prior to that, the announcement only catalyzed the development of a new and much-improved replacement format. PNG is the result. (By the way, despite the implications in some of CompuServe's old press releases and in occasional trade-press articles, PNG's development was not instigated by either CompuServe or the World Wide Web Consortium, nor was it led by them. Individuals from both organizations contributed to the effort, but the PNG development group exists as a separate, Internet-based entity.) That's only half the story, however; PNG would deserve a home page even if all that had not taken place, just because it's so darned nifty. Yes, it's not every day you come across an image format and say, "Outraaageous!" In fact, you may never say that in your entire lifetime (truly a pity), but PNG is still cool. Some of its spiffier features include: ● unambiguous pronunciation (ooo, baby!) ● multiple CRCs so that file integrity can be checked without viewing ● ultra-clever magic signature that can detect the most common types of file corruption ● better compression than GIF, typically 5% to 25% (but often 40% or 50% better on tiny images) ● non-patented (you betcha!), completely lossless compression ● majorly gnarly two-dimensional interlacing scheme ● 1-, 2-, 4- and 8-bit palette support (like GIF) ● 1-, 2-, 4-, 8- and 16-bit grayscale support ● 8- and 16-bit-per-sample (that is, 24- and 48-bit) truecolor support ● full alpha transparency in 8- and 16-bit modes, not just simple on-off transparency like GIF ● "palette-alpha" mode, effectively transforming normal RGB palette into RGBA ● gamma correction for cross-platform "brightness" control ● color correction for cross-platform, precision color ● both compressed and uncompressed text chunks for copyright and other info ● full Year 2000 (Y2K) support, and then some (good for at least 63 millenia! yowza!) ● free and complete reference implementation with full source code Not exactly spiffy, but worth mentioning anyway: ● officially registered Internet media ("MIME") type: image/png PNG also supports things like suggested quantization, "smart" extensibility, a standard color space and lots of other excellent stuff, but let us leave all that aside for now. Those who want a quick explanation of the main features can check out Greg's Basic Introduction to PNG Features. Those who want all of the gory details can either find a library with the July 1995 issue of Dr. Dobb's Journal and read Lee Crocker's PNG article; read a copy of Greg's O'Reilly book, PNG: The Definitive Guide; or else go read the full Portable Network Graphics Specification, a reasonably concise W3C Recommendation http://libpng.org/pub/png/ (5 of 6)10/23/06 12:43 PM PNG (Portable Network Graphics) Home Site (the very first one!) that is amazingly well written and understandable. (Greg had no part in the actual writing of it, so he can say things like that.) See the PNG documentation page for links to plain ASCII, PostScript (US letter-size) and PDF versions, and see the W3C's PNG page and official press release for links to related documentation on gamma and color correction. Note that the PNG specification was updated to version 1.1 on New Year's Eve 1998 (that is, 31 December 1998). It included new chunks for cross-platform color correction (sRGB and iCCP), a revised and much more sensible description of gamma correction, and a number of other minor improvements and clarifications (all fully backward compatible, of course!). A second, more minor update (version 1.2) was released in August 1999; its only change was the addition of the iTXt chunk (international text). In addition, PNG began the long process of international standardization* in 1999 (see the 10 May 1999 news item for details), thanks largely to its inclusion in VRML97. It finally completed that process and became the joint ISO/IEC standard 15948:2004 nearly five years later (see the 3 March 2004 news item), a few months after it was also rereleased by the W3C (with identical content) as their "PNG Second Edition" Recommendation. *PNG was already part of the UK profile for MHEG-5 on digital terrestrial television; MHEG-5 is the international standard for a next-generation teletext system that shares a number of features with HTML.