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.
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.
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.
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.
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.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 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 - 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 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
Radiance HDR
Radiance HDR images with real-world brightness values.
- Extensions
- .hdr
- MIME type
- image
/vnd .radiance - Kind
- Images
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.
$ cv convert photo.hdr photo.png$ cv convert photo.hdr photo.pngQuestions.What people ask about HDR to PNG.
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.