Skip to main content
PNG format illustration

PNG Image Format: Complete Guide

.png

PNG is a lossless raster format for exact pixels, screenshots, and transparent graphics. Files use .png and the MIME type image/png.

Compression: Lossless only. PNG is often compact for flat graphics and larger for detailed photos. Browser support: Widely supported; animation uses the APNG extension.

Format capabilities describe the specification. Individual encoders, converters, and embedding contexts may support only a subset.

📖

Master Guide

PNG Optimization: Transparency Done Right

→
Advantages
  • ✓ Lossless raster pixels
  • ✓ Full alpha transparency
  • ✓ Useful for screenshots and graphics
Limitations
  • ✗ Large file sizes
  • ✗ Not ideal for photos

When to Use PNG

  • • Logos
  • • Icons
  • • Screenshots
  • • Graphics with text

Technical Details

File Extension .png
MIME Type image/png
Compression Lossless only
Transparency Yes
Animation Yes, through APNG; encoder support varies
Typical size PNG is often compact for flat graphics and larger for detailed photos
Browser Support Widely supported; animation uses the APNG extension

PNG FAQ

Is PNG better than JPEG?
It depends on the content and destination. A lossless raster format for exact pixels, screenshots, and transparent graphics. Compare actual exports at the same dimensions and acceptable visual quality; JPEG remains useful for broad photographic compatibility.
Does PNG support transparent backgrounds?
Yes. PNG supports transparency, but check that the chosen encoder and delivery method preserve it.
How large is a typical PNG file?
PNG is often compact for flat graphics and larger for detailed photos. Actual size depends on image content and quality settings — a detailed photograph and a flat two-color logo in the same format can differ by an order of magnitude.

Convert to PNG