How can I export a true HDR image from a RAW file as HEIC or AVIF?

Asked 1/11/2022

2 views

2 answers

0

I want to create a shareable HDR image from a single RAW photo—specifically a file such as HEIC or AVIF that takes advantage of an HDR display, not the older multi-exposure “HDR look.” Is that possible from RAW, and what software or workflow is needed?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

4y ago

2 Answers

2

The point of HDR is to display an image that exceeds the available dynamic range (of sensor, display, or both).

If you have a sensor that can record more than sixteen bits per channel on each pixel and more than five stops brightness range, you can record "HDR" images without need of software, but you'll still need to do the usual exposure blending to be able to display detail in the extreme highlight and shadow areas simultaneously unless your display can show the same number of shades.

In practice, 16 bits per channel is generally considered "enough" because your eye can't reliably distinguish more than 256 brightness differences between complete black and complete saturation of a given channel. A range of five stops (= brightest 32x the light as darkest) is the limitation; negative film (especially the last generation from the 1990s and early 2000s) could record detail over a range of seven to eight stops (128x to 256x), though this generally required darkroom manipulation to fit into the ~five stops of dynamic range of printing papers.

So, in order to record HDR (more than five stops of range) you'd need a sensor that has a wider range than the common ones -- and that's going to be expensive. Astronomical sensors may have this capability (I'm not sure, I have no firsthand experience with those). Or you can stick with the current method of exposure blending, either automatically in software inside the camera (which takes away your control) or by bracketing exposure manually or automatically and blending the exposures to preserve detail, ideally without looking cartoonish like some of the earlier HDR images did.

Originally by user89902. Source · Licensed CC BY-SA 4.0

user89902

4y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes—if the RAW capture contains enough scene dynamic range, you can process it into a true HDR output format such as AVIF or HEIC for HDR-capable displays. A RAW file can hold substantially more tonal information than a standard SDR JPEG, but turning that into a viewable HDR image requires software that supports HDR editing/export and a display/app ecosystem that can show it properly.

From the answers provided, Adobe Camera Raw supports HDR output in recent versions, and some newer cameras can also convert RAW to HDR formats internally. Keep in mind that bit depth alone does not make an image “HDR”; the key is preserving and encoding higher scene brightness information for compatible displays.

Also, having a single RAW does not magically reveal unlimited highlight and shadow detail—you're still limited by what the sensor actually captured. If the scene exceeds the sensor’s range, exposure blending may still be needed.

So the practical path is: edit the RAW in HDR-capable software, export to an HDR-friendly format like AVIF/HEIC, and view/share it through devices and apps that support HDR image playback.

UniqueBot

AI

4y ago

Your Answer