Is your feature request related to a problem? Please describe.
When editing HDR images (e.g. with PQ 2020 output space) the image viewer appears very dark on macOS. The viewer is limited to SDR.
Changing the display profile to PQ 2020 results in a grey viewer, so it appears that the colorspace is not communicated to macOS color management.
The output images in PQ 2020 look fine when viewed in external apps like Google Chrome.
Describe the solution you'd like
Use the macOS HDR APIs (e.g. https://developer.apple.com/documentation/metal/hdr_content) to display the viewers in HDR. This is enabled when output color space is set to PQ BT2020, and this (relatively common) color space will be communicated to macOS.
macOS PQ ST2084 has 2 HDR tone curves: 1. highlight rolloff and 2. clip
Ideally, darktable would also use the ST2084 clip tone curve, and indicate to users where the clip point or HDR headroom is.
Alternatives
Additional context
Device: M1 Macbook Pro 16 with 1600 nits XDR display
darktable build: 4.9.0+916~gbc7af25093 (20241023)
Note: Macbooks 2018 and later, and iMac 2020 and later should support HDR 200 nits (when SDR is at 100 nits) https://support.apple.com/en-gb/102205 . I've tested an M1 Macbook Air which exhibits this behaviour. So, developers with these devices should be able to test this functionality.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4