NEW265797
JPG gain maps are not rendered as HDR
https://bugs.webkit.org/show_bug.cgi?id=265797
Summary JPG gain maps are not rendered as HDR
Greg
Reported 2023-12-04 09:12:44 PST
JPG images with a gain map are not properly rendered as HDR (EDR) on supporting displays. These images may be created with Adobe software (ACR and Lightroom) and Android 14 (at least with the Pixel 8 Pro). Only the base SDR image is displayed, the gain map is ignored. Spec: https://helpx.adobe.com/camera-raw/using/gain-map.html The Chrome, Edge, Brave, and Opera web browsers all properly display gain maps (including on Android devices running Android 14). While all of those browsers are a suitable workaround on MacOS (vs using Safari), they are all dependent upon WebKit for browsing on iOS / iPadOS. Therefore, it is not possible to properly view HDR photos on Apple iPhone / iPad, which is unfortunate as Apple has some of the best hardware out there.
Attachments
Alexey Proskuryakov
Comment 1 2023-12-06 13:42:02 PST
Thank you for the report. Do you have an example to easily test with? Most of the time, these issues are below WebKit, and are better reported to Apple via https://feedbackassistant.apple.com. One way to check is whether the image is displayed correctly in Preview.app.
Greg
Comment 2 2023-12-06 13:53:05 PST
Adobe has made several JPG gain map samples available via https://www.adobe.com/go/gainmap_sample_photos You can also see several more via https://gregbenzphotography.com/hdr-gain-map-gallery/. These images will render as HDR on MacOS via Chrome, Edge, Brave, and Opera when browsing with an XDR or otherwise HDR-capable MacOS computer. They will render as SDR on FireFox / Safari or on displays which do not support HDR. Last I checked (MacOS 14.0 public release), core Apple apps (Preview / Photos) did not render JPG gain maps as HDR (displayed the SDR base image). However, Sonoma did add support for ISO HDR JPG gain maps (https://developer.apple.com/videos/play/wwdc2023/10181)
Radar WebKit Bug Importer
Comment 3 2023-12-11 09:13:14 PST
Note You need to log in before you can comment on or make changes to this bug.