Radiance HDR
image/vnd.radiance
Released 1989
· by Greg Ward (Lawrence Berkeley National Laboratory)
The image/vnd.radiance MIME type represents the Radiance HDR image format, invented by Greg Ward in 1989 for the Radiance lighting simulation system. It is one of the earliest and most universally supported High Dynamic Range (HDR) image formats. To store a massive range of luminosity values without the memory overhead of true 32-bit floating-point per channel, it uses the ingenious RGBE (Red, Green, Blue, Exponent) encoding system, packing HDR data into just 32 bits per pixel. Today, it remains the industry standard for 3D environment maps and image-based lighting (IBL) in CGI and game engines.
Technical Specifications
.hdr.pic.rgbe.xyze
Adaptive Run-Length Encoding (RLE)
image/hdrimage/x-hdrapplication/octet-stream
Magic Bytes & HTTP Headers
#?RADIANCE
Browser Support Matrix
| Browser | Status | Min Version |
|---|---|---|
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | Legacy |
Advantages & Limitations
- Universally supported by almost every 3D modeling software, renderer, and game engine in existence
- RGBE encoding offers a brilliant balance between High Dynamic Range capability and small file size (compared to 32-bit float OpenEXR)
- Simple, easy-to-parse ASCII header followed by straightforward RLE binary data
- Does not support alpha transparency (no way to store an isolated light source with a transparent background)
- The shared exponent architecture can occasionally introduce banding or color artifacts in extreme edge cases compared to true 16-bit/32-bit floating-point formats like OpenEXR
- Zero native browser support for 2D viewing
Developer Code Snippets
File Detection Steps
How to programmatically detect a image/vnd.radiance
file by reading its raw bytes:
- 1 Check the first bytes of the file for the magic string '#?RADIANCE' (Hex: 23 3F 52 41 44 49 41 4E 43 45) followed by a newline.
- 2 Some older or alternative implementations may start simply with '#?' followed by an arbitrary program name (like '#?RGBE').
- 3 The header is plain ASCII text until a blank line, after which the binary pixel data begins.
Software Support
ImageMagick
Conversion Tools
Share & Embed
[](https://freewebptojpg.com/mime/image/radiance)
<iframe src="https://freewebptojpg.com/mime/image/radiance/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="Radiance Specs"></iframe>
JSON API
All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.
GET https://freewebptojpg.com/mime/image/radiance.json
Open JSON
Frequently Asked Questions
What is a Radiance HDR file?
A Radiance HDR (often just called an .hdr file) is a high-dynamic-range image format that captures the true luminosity of a scene, far beyond what standard monitors can display. It is predominantly used in 3D rendering to accurately illuminate digital environments using real-world lighting data.
What is RGBE encoding?
RGBE stands for Red, Green, Blue, and Exponent. Instead of storing 32-bit floating-point numbers for every single color channel (which creates massive files), Radiance stores 8 bits for Red, Green, and Blue, plus a shared 8-bit multiplier (the Exponent). This clever trick allows it to represent incredibly bright light sources (like the sun) in just 32 bits per pixel.
Can web browsers display image/vnd.radiance files natively?
No. Web browsers cannot natively render .hdr files. In web-based 3D applications (like Three.js or Babylon.js), the .hdr file is typically loaded via JavaScript, parsed into a Float32Array, and uploaded to the GPU as an environment map for WebGL rendering.