HDR - Lightroom JPG+gain map support, AVIF updates in Apple Sonoma/iOS 18
I love editing in HDR in Lightroom. I've done a bunch of experimentation with improved HDR image format support in MacOS Sonoma and iOS/iPadOS 18. I thought I'd share what I've found, as there are some solid improvements! It's definitely going to increase my use of HDR in Lightroom after the limitations of Sonoma/iOS 17.
Obviously, this isn't official documentation, but I hope my experience is helpful. Overall, I tend to do any significant editing in Lightroom and then move images back into Apple Photos for "complete" library storage. I've been exporting HDR AVIF out of Lightroom until now. Looks great on my iPhone, but Apple software is pretty tetchy about sharing it. And, does a miserable job displaying it on non-XDR displays.
I'm using a MBP 13" M1 (display is capable of 1 stop of HDR), Sequoia 15.0; an iPhone 12 w/XDR display (capable of 3 stops), iOS 18.0; and some on an iPad Pro 11" 2nd Gen (1 stop), iPadOS 18.0. Those with MBPs or the iPad Pros with XDR screens are likely seeing different behavior on MacOS and iPadOS.
The great: JPG + gain map
Google/Adobe's implementation of JPG + gain map seems to be supported in Apple Photos on XDR displays! This is huge in terms of cross-platform compatibility, as JPG+gain has had major support elsewhere, but Apple has only used their own standard. Now, we've got an HDR format coming out of Lightroom that will display as HDR in Apple Photos and is broadly portable/shareable.
Unfortunately, Photos seems to be the only (Apple) software to display a JPG w/gain map in HDR on iOS. Mail and Files both show the SDR fallback. That's particularly weird to me given that AVIFs will display in HDR there. They did so even in iOS 17. I do need to do more testing with Messages/iMessage. Safari also sticks with the SDR fallback in iOS 18, so far.
Apple's implementation is also nice in that sharing tools don't seem to strip the gain map from the JPG easily. I mention this specifically because you have had to be really careful when sharing an HDR AVIF. Apple likes/liked to mess with the file or format. Here, most of my attempts to export/share a JPG+gain map image retain the gain map—even if you're sharing from a device or software that can't display it.
On MacOS, Apple software still only displays the SDR fallback in all cases. Chrome does display JPG+gain in HDR on MacOS, as it has done with AVIFs.
---
HDR AVIFs: The Good
The AVIF situation is getting... better? As I noted before, Apple would display an HDR AVIF properly on iOS Photos, Mail, Messages (I think), and Files, on an iPhone XDR display. However, the same AVIF could look horrible in Apple software on non-XDR displays like my MBP and iPad Pro. Blown out, weird colors, etc.
With iPadOS 18/Sequoia, I see notably better SDR mapping/rendering of HDR AVIFs in Apple software on those non-XDR displays. Sequoia tone maps them down to a decent SDR rendering if you open them in Preview, Finder, and even Safari. Same in iPadOS, including iPadOS Photos.
HDR AVIFs: The Bad? MacOS Photos
The exception re HDR AVIFs is Photos on MacOS, which has always kind of been a pain point for me. Two key notes:
- Improved HDR AVIF tone mapping in MacOS does not extend into MacOS Photos. It still displays the same blown out rendering of an HDR AVIF that you'd see across the system previously in Sonoma.
- An unfixed holdover from Sonoma regards importing HDR AVIFs into the Apple Photos iCloud ecosystem. I continue to have issues with HDR AVIFs if imported into Apple Photos on MacOS. It'll stay an AVIF, but there will be color issues, banding, etc when it syncs through iCloud and is viewed on an XDR screen. I find that an HDR AVIF needs to go into iCloud from Photos on iOS. That means Airdropping to an iPhone from LrC/LrD exports on MacOS, or just saving directly out of Lightroom Mobile. I don't have an answer to why MacOS Photos does this, but I've tested it extensively.
(It seems that JPG+gain map files can be directly imported into MacOS Photos without the iOS workaround.)
---
So! I hope that's helpful. Tagging @gregbenz - in case you're interested/this is useful—I'm sure you're doing plenty of your own testing, too. Many thanks for the resources you've got already (https://gregbenzphotography.com/hdr/ is a must read for those not familiar).
I'm really hoping to see Safari support HDR JPG+gain map and/or HDR AVIF soon, particularly because all browsers have to use its rendering engine on iOS—home to the vast majority of Apple XDR screens. And, hopefully future iOS 18 upgrades will get us wider JPG+gain map display support across Apple software there.
Would love to hear if people are seeing similar things, other behavior, have other tips, etc.