About the Png file format
- Name
- Portable Network Graphic
- Extension
- .png
- Format
- Binary
- Category
- Raster Image
- Developer
- PNG Development Group
- Description
- A PNG file is an image file stored in the Portable Network Graphic (PNG) format. It contains a bitmap of indexed colors and uses lossless compression, similar to a .GIF file but without copyright limitations. PNG files are commonly used to store graphics for web images.
- MIME Type
- image/png
- Sample
- sample.png
- Wikipedia
- .png on Wikipedia
Portable Network Graphics (PNG) is a raster graphics file format that supports lossless data compression. It was developed as an improved, non-patented replacement for Graphics Interchange Format (GIF).
The motivation for creating this file format was the realization that the Lempel-Ziv-Welch (LZW) data compression algorithm used in GIF format was made patent by Unisys. Other problems with the GIF file format, such as its limit of 256 colors as computers with far more advanced displays were increasing, made the replacement desirable.
PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without an alpha channel for transparency), and a full-color non-palette-based RGB or RGBA images.
It was specially designed for transferring images online and not for professional-quality print graphics. Therefore, a non-RGB color space such as CMYK is not supported.
They use the .png file extension and are assigned MIME media type image/png. It was published as Informational RFC 2083 in March 1997 and became an ISO/IEC standard in 2004.
Although GIF allows for animation, PNG is a single file format. In 2001, the PNG working group published the Multiple-image Network Graphics (MNG) with support for animation. It achieved moderate application support, but not enough among mainstream web browsers and no usage among website designers and publishers.
In 2008, Mozilla developers published Animated Portable Network Graphics (APNG) format, which is natively supported by Gecko- and Presto-based web browsers. However, as of 2017, APNG remains minimally used despite being supported by all major browsers but Microsoft Edge.