Guides

EXR vs HDR: which format for your HDRI?

Updated

Both formats store the real brightness of a scene, and both light a 3D scene well. EXR keeps more precision and more options. HDR is smaller, and some tools import it more easily. Keep the EXR as your master and make an .hdr copy if a tool asks for one.

OpenEXR (.exr)Radiance HDR (.hdr)
StoresA floating-point value per channel, 16-bit half or 32-bit float8 bits each for red, green and blue, plus one shared 8-bit exponent
PrecisionHigh in every channelAbout 1%, and a dim channel beside a bright one loses detail
Negative valuesYesNo
CompressionLossless (PIZ, ZIP) or lossy (DWA)Simple run-length
Size at 4096 × 2048101 MB before compression for 32-bit RGB34 MB before compression
ExtrasMultiple layers and metadataOne image

Which one to use

Half or 32-bit EXR?

A 16-bit half EXR tops out at 65,504, and a direct sun can go past that in scene-linear values. A 32-bit EXR has room for it, at the cost of a bigger file. HDRI Studio writes RGB 32-bit float with PIZ compression in linear Rec.709.

Questions

Is EXR better than HDR?

For precision and flexibility, yes. For lighting alone, both work, and the difference is often hard to see. Keep the EXR as your master, because you can always make an .hdr from it.

Does converting EXR to HDR lose quality?

A little. The brightness range survives, but you lose some colour precision, any negative values and any extra layers.

How do I convert an EXR to HDR?

Open the EXR in Blender's Image Editor, choose Image, then Save As, and pick Radiance HDR as the file format. Photoshop and Affinity Photo can do it too.

Why is my EXR so big?

A 32-bit RGB image stores 12 bytes per pixel before compression. A 4K capture from HDRI Studio is about 78 MB with PIZ compression, and an 8K one can pass 300 MB.

More guides