Home  /  File formats  /  png

PNG file format

Extension.png
Categoryimages
Programs
Apple Preview
Microsoft Windows Photos
Adobe Photoshop CC
Corel Paint Shop Pro
Microsoft Windows Photo Gallery Viewer
Main programMicrosoft Paint
Description.png (Portable Network Graphics) The .png format is a raster graphics file format that supports lossless data compression. It was created as an improved and non-patented replacement for Graphics Interchange Format (GIF). PNG files are widely used on the internet due to their efficient compression and support for transparent backgroundsThey are ideal for detailed, high-quality images and graphics with a small file size, making them a popular choice for web designers and photographers.
Technical detailsThe `.png` The `.png` (Portable Network Graphics) format is a widely used image file format known for its lossless compression and ability to handle transparency. Here are some technical details about the .png format: Lossless Compression: PNG uses lossless compression, meaning that it preserves all the image data during compression. This is in contrast to formats like JPEG, which are lossy and discard some information for smaller file sizes. Bit Depth: PNG images can range from 1-bit (black and white) to 48-bit color. It also supports 16-bit grayscale images. Transparency Support: One of the key features of PNG is its support for alpha channel transparency. This allows for varying levels of transparency in the image, from fully opaque to fully transparent, which is particularly useful for web graphics. Color Palettes: PNG supports truecolor (16 million colors) as well as indexed-color images, which use a palette of up to 256 colors. This makes the format versatile for different types of digital images, including photographs and graphics. Interlacing: PNG offers an interlacing feature (Adam7 interlacing), which allows an image to be loaded progressively. This means that a low-resolution version of the image can be displayed while the full image is being downloaded, which was particularly useful in the early days of the internet when connection speeds were slower. File Structure: A PNG file consists of a header, followed by several chunks of data. These chunks include information like the image's dimensions, color depth, palette (if used), and the image data itself. Gamma Correction: The format supports gamma correction, enabling it to better handle differences in how different displays render color brightness. Metadata: PNG files can include metadata such as textual information (e.g., title, author, description) and can be extended with custom metadata. Popularity and Usage: Due to its features, PNG is very popular for web graphics, icons, and complex images like maps or artworks. It's also used in applications that require high-quality images or transparency. No Native Support for Animation: Unlike formats like GIF, the standard PNG format does not support animation. However, an unofficial extension known as APNG (Animated PNG) adds this capability. Browser and Software Support: PNG is widely supported by all modern web browsers and image editing software, making it a universally accessible format for images on the internet. The PNG format was developed as an improved, non-patented replacement for GIF and as an alternative to the then-proprietary JPEG format. Its balance of quality, support for transparency, and lossless compression makes it ideal for many uses in web and graphic design.
MIME type
image/png