What Is a .hdr File (Radiance HDR) and How to Open It
What Is a .hdr File
A .hdr file is a Radiance HDR image format that stores high dynamic range (HDR) imaging data. Unlike standard image formats that use 8 bits per color channel, .hdr files preserve a much wider range of luminance values, capturing detail in both very bright and very dark areas of a scene that would be lost in conventional photographs.
The format uses the MIME type image/vnd.radiance and stores pixel data in a lossless manner, meaning no image information is discarded during saving. This makes .hdr files particularly valuable in professional lighting analysis, 3D rendering, and visual effects work where accurate light representation matters.
Where .hdr Files Come From
Radiance HDR files originated from the Radiance lighting simulation and rendering system developed at Lawrence Berkeley National Laboratory. The format was designed for scientific visualization and architectural lighting studies, where researchers needed to store and analyze real-world luminance measurements.
Today, .hdr files are created by several sources. HDR photography applications merge multiple exposures of the same scene into a single .hdr file, capturing a broader range of light than any single photograph. 3D rendering software often outputs environment maps and lighting probes as .hdr files for realistic illumination in computer graphics. Specialized HDR cameras and scanners also generate these files directly.
How to Open .hdr Files
Opening a .hdr file requires software that supports high dynamic range imaging. Not all image viewers can display HDR content properly, as standard monitors have limited dynamic range.
Adobe Photoshop can open .hdr files and includes tone mapping tools to convert the wide luminance range into something visible on standard displays. The application preserves the HDR data while allowing you to adjust how it appears on screen.
Blender, a 3D creation suite, uses .hdr files extensively for environment lighting and can both import and preview these images. The software displays HDR content in its viewport and uses it for realistic lighting calculations.
Specialized HDR image viewers like HDRView or Luminance HDR are designed specifically for this format. These applications offer tone mapping controls and let you examine the full range of light data stored in the file.
On macOS, Preview can open some .hdr files but may not display them with full HDR capability. On Windows, you typically need dedicated software or plugins for standard image viewers.
What to Convert .hdr Files To and Why
Converting .hdr files to other formats depends on your intended use. Each conversion serves a specific purpose.
Converting to JPEG or PNG makes sense when you need to share images on the web or in documents. These standard formats are widely supported and display on any device, but the conversion requires tone mapping to compress the wide dynamic range into 8 bits per channel. You lose the HDR data in this process, but gain universal compatibility.
Converting to OpenEXR is common in professional visual effects and 3D rendering workflows. OpenEXR is another HDR format that supports multiple layers and channels, offering more flexibility than Radiance HDR for complex production pipelines. The conversion preserves high dynamic range data while providing additional features.
Converting to TIFF with 16-bit or 32-bit color depth provides a middle ground. TIFF files can store more color information than JPEG but are more widely supported than .hdr files. This conversion works well for archival purposes or when working with applications that do not support Radiance HDR.
Some users convert .hdr files to cube map formats for use in game engines or real-time rendering applications. This conversion rearranges the image data into a format optimized for environment mapping in interactive 3D applications.
Common Problems with .hdr Files
Several issues commonly arise when working with Radiance HDR files. Understanding these problems helps you avoid frustration.
The most frequent problem is that the image appears extremely bright, dark, or washed out when opened. This happens because the software is displaying HDR data without proper tone mapping. HDR images contain luminance values far beyond what standard displays can show, so they need tone mapping or exposure adjustment to appear correct. This is not a file corruption issue but rather a viewing limitation.
Some applications claim to support .hdr files but only import them as low dynamic range images, discarding the extended luminance information. When this happens, you lose the primary benefit of the format. Check whether your software truly processes HDR data or merely opens the file as a standard image.
File size can be a concern. Because .hdr files store significantly more data per pixel than standard formats, they are larger. A .hdr file of modest resolution may be several megabytes, which can slow down workflows or exceed file size limits for certain platforms.
Compatibility issues occur when sharing .hdr files with others who lack appropriate software. Unlike JPEG or PNG, which open almost anywhere, .hdr files require specific applications. This can complicate collaboration unless all parties have compatible tools.
Corrupted files sometimes result from incomplete downloads or improper transfers. If a .hdr file won't open in software that normally handles the format, try re-downloading or re-exporting it from the source application.
FAQ
Can I view a .hdr file on my phone?
Most standard mobile photo viewers cannot properly display .hdr files. You need a specialized app that supports HDR imaging and tone mapping to view these files correctly on mobile devices.
Do .hdr files lose quality when saved?
No, the Radiance HDR format is lossless, meaning it does not discard image data when saving. The file preserves the full dynamic range information without degradation.
Why does my .hdr file look different in different programs?
Each application applies its own tone mapping or exposure settings when displaying HDR content on standard monitors. The underlying HDR data is the same, but the on-screen preview varies based on how the software interprets and compresses that data for display.
Conclusion
Radiance .hdr files serve an important role in professional imaging, 3D rendering, and lighting analysis by preserving high dynamic range data that standard formats cannot capture. While they require specialized software to open and view properly, they offer unmatched accuracy in representing real-world lighting conditions. Converting them to standard formats provides compatibility but sacrifices the extended luminance range. For more detailed information about working with this format and conversion options, visit the HDR format page.