HDR Image Conversion: Preserving Dynamic Range Across Formats
Your phone captured stunning HDR photos. Then you realized most platforms don't support it. Here's how to convert without losing that magic.

You know that moment when you capture a perfect sunset on your iPhone or mirrorless camera? The sky is rich and detailed, shadows pop with texture, and the overall dynamic range is just... massive. Then you share it to Instagram and it looks washed out. That's the HDR conversion problem.
Modern cameras and phones capture in HDR by default. Your sensor can record brightness values ranging from 0 to 10,000+ (compared to traditional SDR's 0-255 limit). But most platforms, screens, and file formats only support SDR. So somewhere along the line, that gorgeous dynamic range gets crushed into a flat, narrow range. The result? Your masterpiece looks mediocre.
What Actually Happens During Conversion?
Here's the thing: converting HDR to SDR is compression. You're taking information that spans from 0-10,000 and fitting it into 0-255. That's like taking a 6-lane highway and squeezing it down to a 2-lane road. Some traffic is going to get backed up.
Most naive converters just clip the extremes—highlights get crushed to pure white, shadows go to black, and you lose all that beautiful detail. Professional conversion uses tone mapping, which intelligently decides what survives the compression. Good tone mapping:
- Preserves mid-tone detail (the stuff your eye cares most about)
- Maintains local contrast so images don't look flat
- Avoids the over-processed, artificial "tonemapped" look
- Adapts to different image types (landscapes need different treatment than portraits)
The best tone mapping algorithms are content-aware. They analyze your image and apply different compression curves to different regions. A sunset gets different treatment than a portrait—because they have different dynamic range characteristics.
Which Formats Actually Support HDR?
This is where things get interesting. Not all formats are created equal:
- JPEG XL — Technically the best. Lossless HDR, incredible compression, wide color gamut. Problem: browser adoption is glacial.
- AVIF — Excellent HDR support, modern codec, growing browser support. Chrome, Firefox, Safari now handle it on newer devices.
- WebP with HDR — Good option if you need broader compatibility. Not all browsers support the HDR profile yet.
- HEIF/HEIC — Apple's format. Great for iOS/macOS workflows, limited elsewhere.
- PNG, JPEG — No native HDR support. Period. Converting to these means tone mapping down to SDR.
- RAW files — Store the full HDR data, but they're massive and require software to view.
For web content in 2026, AVIF is genuinely becoming the standard. It handles HDR elegantly, has solid browser support on modern devices, and compresses better than JPEG XL while being more compatible.
The Workflow: Editing in HDR, Delivering in Both
Here's what professional photographers and content creators do now:
Step 1: Edit in HDR. Lightroom, Photoshop, and Capture One all support HDR editing now. You work with the full dynamic range, which gives you way more flexibility in highlights and shadows.
Step 2: Export the HDR master. Keep a high-quality HDR version (AVIF, JPEG XL, or RAW) as your archive. This is your "source of truth" that contains all the image data.
Step 3: Create tone-mapped SDR versions. Most tools let you specify a tone mapping profile during export. Export once for web (using batch conversion tools to handle multiple files), once for social media, once for print. Each tone map is optimized for its destination.
This is way better than the old workflow of editing in SDR, exporting once, and calling it done. You preserve maximum flexibility and can always re-export if you change your mind about the tone mapping.
Tone Mapping Strategies
Not all tone mapping is equal. Here are the main approaches:
Filmic tone mapping mimics how film handles dynamic range—graceful rolloff in highlights, natural compression. Good for everything.
Reinhard tone mapping uses a photographic approach—works well for outdoor shots where you want to preserve the feeling of the HDR.
Perceptual tone mapping prioritizes what your eye actually cares about—local contrast and mid-tones. Tends to look more natural than aggressive methods.
Most modern converters (including KokoConvert's image conversion tools) use perceptual mapping by default, which is a safe bet. If you're doing professional work, experiment with settings. Different images respond differently.
Color Space Matters Too
Here's a gotcha: tone mapping solves the dynamic range problem, but you also need to handle color space correctly.
HDR images often work in wider color spaces (like DCI-P3 or Rec. 2020) that contain colors SDR sRGB can't display. When converting, you need to map those out-of-gamut colors back into sRGB without losing them entirely.
Gamut mapping algorithms handle this. The best ones compress colors intelligently rather than clipping them. Your sky doesn't turn into a weird shade—it gets gracefully brought into the displayable range.
When using conversion tools, look for options around "gamut mapping method" or "color rendering intent." Perceptual intent works well for most photos.
Practical Tips
Batch convert when possible. Whether you're using KokoConvert's batch tools or scripting locally, processing multiple files at once is way more efficient than one-by-one. Set your tone mapping profile once, let it rip.
Always preview on the target platform. An image that looks great tone-mapped for the web might look dull printed. Mobile phones display colors differently than monitors. Export a few test images and actually look at them on your target.
Keep your original. Never delete the HDR version. Export tone-mapped SDR versions instead. In three years when HDR is more universal, you'll be glad you can re-export.
Understand your tools' limitations. Not every conversion tool supports intelligent tone mapping. Some just apply a fixed curve. Test before committing 1000 images.
The Future (Spoiler: It's HDR)
Here's the good news: HDR is becoming mainstream. New phones, cameras, tablets, and even TVs support it. In a few years, SDR-only platforms will be the weird exception. When that happens, you'll be grateful you kept your HDR originals.
For now, the conversion workflow—edit in HDR, export tone-mapped SDR versions for legacy platforms—is the practical standard. It gives you flexibility and preserves your options.
Your sunset photos deserve better than being crushed into SDR mediocrity. With proper tone mapping and the right formats, you can deliver the dynamic range your camera captured.