Convert HDR to PNG

Turn HDR images into PNG. Same size, converted from linear light to 8-bit sRGB without tone mapping, so values brighter than white are clipped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop HDR files on the dialor turn it to pick what to do

A PNG from a Radiance HDR image.The picture keeps its width and height, but bright values are clipped.

  1. What you get

    One PNG file at the same size as the HDR image. The HDR file stores real-world brightness values, and the PNG stores ordinary 8-bit color.

    The values are converted from linear light to 8-bit sRGB. No tone mapping is applied.

  2. What is clipped

    Values brighter than white are clipped to white. Because there is no tone mapping, bright areas are not compressed to fit, so detail that was brighter than white in the HDR file does not appear in the PNG.

    To go the other way, use PNG to HDR.

  3. Options

    Set Max width (px) or Max height (px) to shrink a large image. Each takes a value from 1 to 20000. The shape is kept, and an image that is already smaller stays as it is, so nothing is enlarged.

    Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  4. Failures

    If the file cannot be parsed, the conversion stops with input_corrupted.

HDR and PNG.What each format is, and the options this conversion takes.

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · HDR

Radiance HDR

Radiance HDR images with real-world brightness values.

Extensions
.hdr
MIME type
image/vnd.radiance
Kind
Images
To · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

In your code.The same HDR to PNG conversion through the API, for your app or your agent.

terminal
$ cv convert photo.hdr photo.png
$ cv convert photo.hdr photo.png

Questions.What people ask about HDR to PNG.

01OF 04

Yes. The width and height stay the same unless you set Max width (px) or Max height (px).

No. The values are converted to 8-bit sRGB without tone mapping, so anything brighter than white is clipped.

Yes. Set Rotate to 90, 180 or 270 to turn the result clockwise.

The file could not be parsed. The conversion stops with this code when that happens.

More conversions.Other ways in and out of HDR and PNG.