PNG
Portable Network Graphics (PNG) is a raster graphics file format that supports lossless data compression. PNG was created as an improved, non-patented replacement for GIF and is the most widely used lossless image compression format on the World Wide Web.
History[edit | edit source]
PNG was developed in 1995 by an Internet working group and was later specified in RFC 2083. The motivation for creating the PNG format was the need for a free and open image format that could replace GIF, which was encumbered by patents.
Features[edit | edit source]
PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without alpha channel), and full-color non-palette-based RGB[A] images. PNG was designed for transferring images on the Internet, not for professional-quality print graphics, and therefore does not support non-RGB color spaces such as CMYK.
Compression[edit | edit source]
PNG uses a lossless data compression method known as deflate, which is the same algorithm used in the zlib compression library. This ensures that no image data is lost during compression, making PNG ideal for images that require high quality and precision.
Transparency[edit | edit source]
One of the key features of PNG is its support for transparency. PNG images can include an alpha channel, which allows for varying levels of transparency. This makes PNG a popular choice for web graphics, where images often need to blend seamlessly with different backgrounds.
Interlacing[edit | edit source]
PNG supports interlacing, which allows an image to be progressively displayed as it is downloaded. This feature is particularly useful for slow internet connections, as it provides a preview of the image before it is fully loaded.
Comparison with Other Formats[edit | edit source]
PNG is often compared to other image formats such as JPEG and GIF. Unlike JPEG, which uses lossy compression, PNG's lossless compression ensures that no image data is lost. However, PNG files are typically larger than JPEG files. Compared to GIF, PNG offers better compression and supports a wider range of colors and transparency options.
Usage[edit | edit source]
PNG is widely used on the web for images that require transparency or lossless compression. It is also commonly used for screenshots, as it can capture the exact appearance of the screen without any loss of quality.
Related Pages[edit | edit source]
See Also[edit | edit source]
References[edit | edit source]
External Links[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD