PNG to HDR Converter

Turn a PNG into a Radiance .hdr file for tools that read that format.

or drop files here

PN

PNG Format

Portable Network Graphics

A lossless raster format developed as a patent-free successor to GIF, standardized as ISO/IEC 15948 and a W3C Recommendation.

  • Lossless DEFLATE compression
  • Alpha transparency
  • 1 to 16 bits per sample
  • image/png
HD

HDR Format

Radiance HDR image

A high-dynamic-range format created for the Radiance lighting simulation software, also known as RGBE.

  • Shared-exponent RGBE pixels
  • Run-length encoding
  • Extension .hdr or .pic
  • Used for environment maps

How to convert PNG to HDR

Follow these steps to convert PNG to HDR online.

    1

    Choose your PNG file, or several at once.

    2

    Wait while the converter turns each file into HDR.

    3

    Download each new HDR file. Your original file isn't changed.

What to know before converting PNG to HDR

  • The page decodes the PNG into 8-bit pixels, so no new brightness range is created.
  • Transparency is not carried into the HDR file.
  • Metadata is dropped, and an animated PNG gives its first frame.
  • ImageMagick writes the Radiance file.

About PNG files

What is a PNG file?

GIF's patent trouble led to PNG, designed as a free replacement. It was published by the W3C in the autumn of 1996 as that body's first format Recommendation, and it later appeared as RFC 2083 and ISO/IEC 15948:2004. A fixed signature opens each file, then chunks follow, for example IHDR carrying the header, IDAT the pixels and IEND the closing marker. A third edition reached Recommendation status on 24 June 2025, bringing cICP for signaling HDR and an eXIf chunk for Exif data.

DEFLATE compression is used, and it never discards data. Each sample can be indexed, grayscale or truecolor at depths running from 1 up to 16 bits, and optional alpha stores transparency for each pixel. Animated PNG (APNG) is part of the current specification as well; software unable to animate displays the default still frame.

Browsers of every major kind display PNG, and screenshots on macOS default to this format. Registered media types: image/png, plus image/apng for animated files.

Programs that open PNG files

Windows, Mac and Linux:

  • Editing a PNG is possible in GIMP, which imports it.
  • Reading PNG is also something ImageMagick does, though you should inspect which formats your install supports.

Web:

  • Chrome shows PNG pictures directly.
  • Firefox displays them as well.

Mobile:

  • Safari renders PNG on a phone or tablet.

PNG and HDR compared

  • Purpose: PNG is a general lossless image format. Radiance HDR was created for the Radiance lighting simulation software and is also known as RGBE, a scheme created by Greg Ward.
  • Pixels: a PNG stores samples per channel. An HDR pixel is four bytes: red, green and blue plus one shared exponent. Brightness values computed during Radiance lighting simulation are what such RGBE images hold.
  • Range: the shared exponent stretches brightness well past what plain 24-bit RGB can express, which is the point of the format.
  • Compression: PNG always uses lossless DEFLATE, while HDR files use run-length encoding.
  • Extensions: an HDR file ends in .hdr or .pic, and its registered media type is image/vnd.radiance.
  • Uses: HDR serves environment maps for 3D rendering, lighting simulation and HDR image storage. PNG suits screenshots, logos and web graphics.
  • Readers: Blender, GIMP, Adobe Photoshop and Luminance HDR open HDR files.
  • Animation: a PNG can animate through APNG, but one HDR file holds one picture.

Your browser's own image decoder opens the PNG, and the pixels pass through 8-bit RGBA before ImageMagick writes the Radiance file. A 16-bit PNG therefore loses its extra depth first. The new file cannot contain brightness the PNG never recorded, so nothing is made brighter than white.

The HDR has no transparency, since the page keeps it only when writing PNG or WebP. Metadata is also lost, as the image travels as raw pixels, leaving EXIF, ICC profiles and XMP behind. When the PNG is animated, frame one is what gets written.

The work runs in a Web Worker, and if the worker fails it is retried on the main thread. No quality setting exists. The page handles files one after another, offers each as its own download, imposes no size limit and uploads nothing.

Other ways to convert PNG to HDR

  • ImageMagick: run magick source.png destination.hdr. ImageMagick's format table lists both PNG and HDR as readable and writable.
  • ImageMagick, format prefix: use magick source.png HDR:destination.hdr. A format name before the file name tells ImageMagick which format to write.
  • ImageMagick and Radiance ra_ppm: run magick source.png intermediate.ppm, then ra_ppm -r intermediate.ppm destination.hdr. The -r option converts a pixmap to a Radiance picture, and -g sets gamma with a default of 2.2.

Problems with PNG files

  • Compression level: choosing a lower compression setting cannot cost fidelity, since PNG packing is lossless.
  • Layer offsets: GIMP and other applications can interpret them differently, so skip its PNG offset option.
  • Missing camera tags: GIMP treats camera tags and profiles as optional, so enable the metadata controls when you need them.
  • Decode message: the page shows "Image decode failed." when the browser's decoder cannot open the file.
  • Browser message: when a browser lacks support for the format, the page suggests a recent release of Chrome, Edge, Firefox or Safari.
  • Bright areas clipped: squeezing bright values into the usual eight-bit range may throw away highlight detail.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert PNG to HDR?

Does converting make my PNG high dynamic range?

Why would I want an HDR file from a PNG?

Does a 16-bit PNG stay 16-bit?

Is transparency kept?

Does the file keep metadata?

What are RGBE pixels?

Is an animated PNG converted?

What does Image decode failed mean?

Can I convert several PNGs together?