What is png
Last updated: April 1, 2026
Key Facts
- PNG was created in 1995 as an open-source alternative to the proprietary GIF format
- Uses lossless compression preserving all original image data without quality loss
- Supports alpha channel transparency allowing pixels to be fully or partially transparent
- No patent restrictions making it free to use and implement across all platforms
- Provides better compression than uncompressed formats like BMP while maintaining quality
Overview
PNG stands for Portable Network Graphics and represents one of the most important image formats in digital media. Developed as a free, open-source replacement for the proprietary GIF format, PNG quickly became the standard for web graphics, digital photography, and professional image work. Its versatility and technical advantages have made it ubiquitous across the internet and digital applications.
Technical Characteristics
PNG uses the deflate compression algorithm to achieve lossless compression, meaning images can be compressed without losing any original data or quality. When you save an image as PNG and reopen it, the image is identical to the original. This differs fundamentally from lossy formats like JPEG, which discard data to achieve smaller file sizes.
Transparency Support
A defining feature of PNG is its support for alpha channel transparency. Unlike GIF which supports simple binary transparency (fully transparent or opaque), PNG allows partial transparency on a per-pixel basis. This flexibility enables smooth edges, shadows, and sophisticated design elements without requiring solid background colors. This capability revolutionized web design by allowing images with transparent backgrounds.
Color Depth and Variants
PNG supports various color depths including 1-bit monochrome, 8-bit grayscale, 8-bit indexed color, 24-bit truecolor, and 48-bit truecolor. This flexibility allows optimization for different use cases: simple graphics benefit from indexed color while photographs require full color depth. PNG also supports gamma correction and color profile information.
Advantages and Applications
PNG excels in web graphics, digital art, screenshots, and professional image work. Its lossless compression, transparency support, and absence of patent restrictions make it the preferred format for quality-sensitive applications. File sizes are typically larger than JPEGs but acceptable for web use, while providing superior quality for graphics and screenshots.
Modern Usage
PNG remains the standard format for icons, logos, digital illustrations, and screenshots. Web browsers universally support PNG, and it's compatible with virtually all image editing software and operating systems. Modern variants like APNG (Animated Portable Network Graphics) extend PNG capabilities to support animation similar to GIF.
Related Questions
What's the difference between PNG and JPEG?
PNG uses lossless compression preserving all image data, while JPEG uses lossy compression discarding some data for smaller files. PNG supports transparency, JPEG does not. PNG is better for graphics, JPEG is better for photographs.
Can PNG files be animated?
Standard PNG files cannot be animated, but APNG (Animated Portable Network Graphics) is an extension that adds animation support similar to GIF. Most browsers now support APNG, making it a modern alternative to animated GIFs.
How do I convert an image to PNG format?
You can convert images to PNG using image editing software like Photoshop, GIMP, or online converters. Most tools allow you to open an image and export or save it as PNG, adjusting compression settings as needed.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Wikipedia - Portable Network GraphicsCC-BY-SA-4.0
- PNG Official SpecificationPublic Domain