Radiance HDR converter

Convert HDR images to PNG; transparency is preserved.

FluffyShield Protected workspace
From
To

Choosing a format opens another page, set to that conversion. Images you've added here come along. Finished files don't, so download them first.

FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

PNG options here: browser or advanced encoder; RGBA, RGB, grayscale or indexed color; 8- or 16-bit; Fast, Balanced or Maximum compression; interlacing. HDR, PFM and OpenEXR sources write a 16-bit Display P3 PNG by default. Which PNG settings are worth changing?

How it works
  1. Choose HDR files
  2. Pick PNG, JPG or WebP
  3. Convert
  4. Download your copies

What it does

A 16-bit PNG

Bright tones are eased into a 16-bit PNG with a Display P3 color profile.

Opens anywhere

Get a PNG, JPG or WebP that any browser or photo app can open.

Stays on your device

Your lighting maps and panoramas never leave your computer.

Limits Saving as HDR places transparent pixels on white.

Should a Radiance HDR file become a PNG, a JPG or a WebP?

A PNG if you want the converted picture without lossy compression, a JPG or WebP if you need a small file. FluffyBench's HDR converter makes any of them on your own device and eases the extra-bright tones so they fit a screen. Keep the .hdr itself for lighting work.

Why can't an ordinary viewer show an HDR file?

Because it holds light brighter than white, and a viewer has no rule for showing that. A normal picture stores each pixel's brightness on a scale that stops at white. A Radiance HDR file doesn't stop there. Each pixel keeps its color plus one shared exponent, a bit like writing a number in scientific notation, so values far above white still fit.

That extra range is why 3D artists and lighting designers use it for environment maps and panoramas. To show the file on an ordinary screen, something has to bring those bright values down.

What does FluffyBench do to the bright parts?

It eases them down instead of cutting them off. Think of a dimmer that lowers the brightest lights gently while the dim ones barely change. FluffyBench's HDR converter undoes the exposure recorded in the file, converts the colors and applies that kind of fixed tone curve, then saves a 16-bit PNG with a Display P3 color profile, or a JPG or WebP if you'd rather have something smaller.

Every pixel of our test scene came out different from the ordinary photo it was made from, by at most 42 on a 0 to 255 scale. That's the curve working as designed, not an error.

The ordinary photo our HDR scene was made from, and what FluffyBench's converter reads out of the HDR file.

The Lassen Peak photo in full color with a deep blue sky.

Original photo

The same photo after the tone curve, with a paler, flatter sky and lake.

From the HDR file

Both pictures are drawn from pixels: the sample photo and the decoded HDR file. In the ordinary photo the sky is a deep, even blue. After the curve, the same sky and the lake come out paler and flatter. The clouds sit above white in this file, so the curve brings them down to fit on a screen. How we measured · Photo: NPS Photo, Public domain, U.S. federal work; Public Domain Mark 1.0, via Wikimedia Commons / National Park Service.

The PNG can come out bigger than the HDR it came from: 38.0 KB became 60.4 KB. Run-length encoding, the HDR shortcut for repeated pixels, doesn't promise a small file when a picture is full of detail.

The 16-bit PNG came out 59% bigger than the HDR file it came from

HDR file 38.0 KB
16-bit PNG 60.4 KB
JPG 5.6 KB
WebP 5.0 KB

File size, KB

Sizes are rounded to 0.1 KB.

So neither the HDR file nor its PNG is a space saver. When size matters, the JPG and WebP are the copies to send.

Doing it in FluffyBench's HDR converter

Here's the job from choosing an HDR file to saving its PNG.

  1. Choose one .hdr file or several with Choose images. The file is read on your device.

  2. The gear button marked PNG opens Settings on a phone.

  3. Under Size, Original keeps the picture's width and height.

  4. Close Settings with the gear button, then press Convert to make the PNG copy.

  5. The tile reports the PNG's dimensions and size, and says the HDR values were tone-mapped. Download saves it.

    The finished PNG tile with its size, the tone-mapping note and the Download button outlined.
    The finished PNG tile with its size, the tone-mapping note and the Download button outlined.

To save a picture as HDR instead, change the To menu to HDR and add a PNG or JPG. HDR has no alpha channel, so transparent pixels are placed on white. A file saved from an ordinary picture holds nothing brighter than white, because the converter doesn't invent extra light.

Whenever you'll light a scene with it again. A PNG can't hold brightness above white, so that range is gone once the curve is applied. Pictures over 16 megapixels, or PNG settings that ask for 8-bit, grayscale or indexed color, get an 8-bit sRGB file instead of the 16-bit one.

Some files won't convert at all. A pixel format other than RGBE or XYZE is refused, and so is a damaged file. We cut one in half and got “This image couldn't be processed.” with the detail “The Radiance HDR RLE literal is invalid.” If the PNG is too big for where it's going, these FluffyBench tools help.

Need a small photo to share?

FluffyBench's JPG converter

JPG is far smaller than a 16-bit PNG, though it can't keep transparency.

Need a smaller copy that the destination accepts as WebP?

FluffyBench's WebP converter

WebP is also much smaller than the PNG.

Need a PNG from a Radiance HDR image?

Need an SGI image instead?

Need to open an OpenEXR render instead?

Search FluffyBench