Transloadit
Pricing
  • File Uploads
  • File Importing
  • Video Encoding
  • Audio Encoding
  • Image Processing
  • Document Processing
  • Artificial Intelligence
  • File Filtering & Security
  • Media Cataloging
  • File Compression
  • Code Evaluation
  • File Exporting
  • Smart CDN
  • View all services
  • Explore integrations
  • Explore live demos
  • Uppy
  • TransloaditKit
  • Android SDK
  • Node SDK
  • Python SDK
  • Ruby SDK
  • Go SDK
  • Java SDK
  • PHP SDK
  • Zapier
  • MCP Server
  • Terraform
  • Essentials
  • Best Practices
  • FAQ
  • Robots
  • API
  • Formats
  • Build your first app
  • About
  • Comparisons
  • Open Source
  • Testimonials
  • Jobs
  • Security
  • Posts
  • DevTimes
  • DevTips
  • Press
  • Research
  • Case Studies
  • Solutions
  • Guides
  • Glossary
  • Legal
  • Tools
  • Helping Coursera bring education to millions around the world
  • Transloadit Support
  • Open Source Support
  • Service level agreement
EssentialsRobotsFAQAPIFormatsBest Practices
Supported formats & codecs
  • Overview
  • Video codecs
  • Audio codecs
  • Audio/video filters
  • Audio/video formats
  • Image formats
  • Fonts
  • Archiving
Image formats
  • What is an AVIF file?
  • What is a GIF file?
  • What is a HEIC file?
  • What is a JPEG file?
  • What is a PNG file?
  • What is an SVG file?
  • What is a WebP file?
Audio formats
  • What is an MP3 file?
  • What is a WAV file?
Video formats
  • What is a MOV file?
  • What is an MP4 file?
  • What is a WebM file?
Document formats
  • What is a PDF file?

What is a PNG file? Everything you need to know about the PNG format

A PNG file is a losslessly compressed raster image in the Portable Network Graphics format. PNG preserves exact pixel values and supports full alpha transparency, making it a common choice for screenshots, logos, diagrams, and interface assets.

How does PNG work?

PNG predicts each pixel from nearby pixels and stores the difference. It then compresses that data with the DEFLATE algorithm. Decompression reconstructs the original pixels exactly; there is no quality slider and no generational loss.

PNG supports grayscale, indexed color, true color, and alpha channels. It can also use interlacing to show a rough version while data arrives. Standard PNG does not provide the frame-based animation associated with GIF, although APNG extends the format for animation.

Benefits of PNG

  • Lossless storage: decoding reproduces the encoded pixels exactly.
  • Alpha transparency: supports smooth, partially transparent edges.
  • Sharp graphics: preserves text, lines, diagrams, and interface screenshots.
  • Broad compatibility: supported by browsers, editors, and operating systems.

Limitations of PNG

Photographs usually become much larger as PNG than as JPEG, WebP, or AVIF because PNG does not remove visual detail. Camera metadata support is less central to typical PNG workflows, and complex images can be expensive to transfer at full resolution.

Choose PNG for exact graphics and transparency. Choose JPEG for universally compatible photos, or WebP/AVIF for smaller modern-web assets.

PNG compared with JPEG and WebP

FormatBest fitCompressionTransparency
PNGScreenshots, logos, diagramsLosslessFull alpha
JPEGPhotographsLossyNo
WebPMixed modern-web imageryLossy or losslessFull alpha

How to resize and optimize PNG files with Transloadit

Use 🤖/image/resize to normalize dimensions, then 🤖/image/optimize to reduce the file without changing its dimensions:

{
  "steps": {
    ":original": { "robot": "/upload/handle" },
    "png": {
      "use": ":original",
      "robot": "/image/resize",
      "format": "png",
      "width": 1200,
      "resize_strategy": "fit"
    },
    "optimized": {
      "use": "png",
      "robot": "/image/optimize"
    }
  }
}

PNG FAQ

What does PNG stand for?

PNG stands for Portable Network Graphics.

Is PNG always better quality than JPEG?

PNG preserves its encoded pixels exactly, but that does not automatically make it the best format. A well-encoded JPEG can look excellent at a fraction of the size for photographs.

Does PNG support transparent backgrounds?

Yes. PNG supports an alpha channel with fully and partially transparent pixels.

Related demos

  • Convert PNG to WebP
  • Convert PNG to JPEG
  • Remove an image background
Previous page ← What is a JPEG file?Next page What is an SVG file? →
TransloaditChecking status…

Product

  • Services
  • Pricing
  • Demos
  • Tools
  • Security
  • Support

Company

  • About/Press
  • Blog/Jobs
  • Comparisons/Compliance matrix
  • Research
  • Open source
  • Solutions

Docs

  • Getting started
  • Transcoding
  • FAQ
  • API
  • Guides/DevTips
  • Supported formats

More

  • Platform status⁠
  • Community forum⁠
  • StackOverflow⁠
  • Uppy
  • tus⁠

© 2009–2026 Transloadit-II GmbH

PrivacyTermsImprint