PNG

From WikiMD's medical encyclopedia

PNG_transparency_demonstration_1
PNG-Gradient_hex
PNG-Gradient
PNG_color_depth_comparison
Pixel-prediction
Adam7_passes
Animated_PNG_example_bouncing_beach_ball

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

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

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

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

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

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

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

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

See Also

References



External Links

Template:Graphics-file-format-stub

Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Transform your life with W8MD's budget GLP-1 injections from $125.

W8mdlogo.png
W8MD weight loss doctors team

W8MD offers a medical weight loss program to lose weight in Philadelphia. Our physician-supervised medical weight loss provides:

NYC weight loss doctor appointments

Start your NYC weight loss journey today at our NYC medical weight loss and Philadelphia medical weight loss clinics.

Linkedin_Shiny_Icon Facebook_Shiny_Icon YouTube_icon_(2011-2013) Google plus


Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

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, categories Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD