Page 1 of 1
MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Mon Jun 17, 2024 11:10 am
by Elix
Hi. I know there have been some topics already but they all indicate that HDR should be working in XNView MP. I use current version 1.7.2 running on MacBook Pro M1 16" with XDR (HDR) profile and with ICC management enabled (set to system profile) I see that JXL and AVIF files work incorrectly. The images are either too flat or dark, tonemapping doesn't work. These same photos all display correctly in Photo or Viewer app. Please advise.
https://dropmefiles.com/NR2Hz
Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Wed Jun 19, 2024 7:53 am
by xnview
which color profile do you use in XnView? Could you send a sample file
Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Wed Jun 19, 2024 2:42 pm
by Elix
xnview wrote: Wed Jun 19, 2024 7:53 am
which color profile do you use in XnView? Could you send a sample file
Sample files are in my first post, see the dl link. Display profile is Apple XDR Display (P3-1600 nits).
Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Thu Jun 20, 2024 9:27 am
by Elix
I just wanted to correct myself, only Photo app works correctly for HDR images so far. Viewer app looks incorrect compared to Adobe Camera RAW.
Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Wed Jun 26, 2024 9:10 am
by Elix
Is this not a priority feature? There are basically no viewers availabie which support tonemapping and HDR gain maps. You could be the first, guys! The best image viewer can get even better

Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Mon Jul 01, 2024 12:48 pm
by xnview
your link doesn't work anymore...
Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Tue Jul 02, 2024 11:54 am
by Elix
xnview wrote: Mon Jul 01, 2024 12:48 pm
your link doesn't work anymore...
It's because 2 weeks have passed... Here's a reupload.
https://tinyurl.com/4vfr2evx
How to know it doesn't work - sky will be blown-out. If HDR is working correctly sky shouldn't be blown-out.
Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Mon Jul 15, 2024 3:27 pm
by Elix
I created this topic 1 month ago and still haven't received a single meaningful anwer

Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Tue Jul 23, 2024 3:23 pm
by xnview
sorry but i'll check when possible...
Re: MacOS Sonoma 15.0 HDR support? AVIF and JXL tonemapping not working
Posted: Wed Aug 07, 2024 12:12 pm
by MaykThewessen
XnViewMP doesn't display .AVIF photo's correctly that i exported in HDR Rec.2020 color 1000nits from Adobe Lightroom
How to solve? Will there come an update?
Currently on MacOS 15.0 Sequia, these photos are also wrongly displayed by 'Apple Preview' and Safari
only correctly displayed by Google Chrome, and iPhone
Edit: Apple Preview does show it correctly
What Color Management to set in XnView? To show these HDR photo correctly?
Re: MacOS Sonoma 14.5 HDR support? AVIF and JXL tonemapping not working
Posted: Sat Aug 17, 2024 8:59 am
by martinimal
Elix wrote: Wed Jun 26, 2024 9:10 am
Is this not a priority feature? There are basically no viewers availabie which support tonemapping and HDR gain maps. You could be the first, guys! The best image viewer can get even better
Bingo.
There is a Demo App from Adobe which is really nice as a viewer but it's doesn't allow much else besides showing. Visualization of HDR in XnView would be amazing.
Google provides a library for the concept of (Gain Map) HDR. It also contains APIs for decoding:
https://github.com/google/libultrahdr
There are two ISO Standards about HDR encoding in still images:
- ISO/CD 21496-1 for Gain Map HDR
- ISO/TS 22028-5:2023 for 10bit (HEIF, AVIF, JXL, PNG) with HLG or PQ curve
Martin
Re: MacOS Sonoma 15.0 HDR support? AVIF and JXL tonemapping not working
Posted: Tue Aug 20, 2024 11:45 am
by martinimal
MaykThewessen wrote: Wed Aug 07, 2024 12:12 pm
XnViewMP doesn't display .AVIF photo's correctly that i exported in HDR Rec.2020 color 1000nits from Adobe Lightroom
How to solve? Will there come an update?
Currently on MacOS 15.0 Sequia, these photos are also wrongly displayed by 'Apple Preview' and Safari
only correctly displayed by Google Chrome, and iPhone
What Color Management to set in XnView? To show these HDR photo correctly?
To show it correctly, XnView would need to send 10bit HDR data to the GPU/display. Which is not yet possible AFAIK. Also the display/OS would need to know that it receives HDR data.