XNViewMP 1.8.8
MacOS Sequoia 15.4.1
XNviewMP on Mac OS has a problem displaying HDR photos correctly.
I exported JPG HDR, AVIF HDR, JPEG XL HDR from Lightroom.
Only JPG HDR is displayed correctly. In another browser, all photos are displayed correctly.
I have the ICC profile set.
And because the photos are displayed incorrectly not only in the thumbnail preview, but when converting to JPG XL after adding a watermark, they are converted in the wrong display and are already stored darkly and any browser will display them darkly.
Bad display of avif and jpg xl with HDR
Moderators: xnview, Dreamer
-
fotomadaj
- Posts: 7
- Joined: Tue Oct 08, 2024 3:27 pm
Bad display of avif and jpg xl with HDR
You do not have the required permissions to view the files attached to this post.
-
xnview
- Author of XnView
- Posts: 48098
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Bad display of avif and jpg xl with HDR
please send us sample files
-
PikaTeach
- Posts: 5
- Joined: Mon Jul 13, 2026 4:13 pm
Re: Bad display of avif and jpg xl with HDR
I am seeing a similar issue on Windows 11.
I export HDR AVIF images from Adobe Lightroom in the HDR Rec.2020 color space with HDR Output enabled. My display is an LG C6 OLED with HDR enabled in Windows 11.
For the screenshots below, I captured them in SDR intentionally, since Windows HDR screenshots do not accurately represent what is displayed. Even in SDR, the difference between applications is clearly visible.
For example, the AVIF files are displayed correctly in:
Google Chrome (when the file is dragged into a browser tab)
Light Matter v0.1.4
Unfortunately, XnView MP does not display these HDR AVIF files correctly. It appears that the HDR metadata and/or color management is not being handled properly.
I would really appreciate it if HDR AVIF support on Windows could be improved in a future version of XnView MP.
I have attached sample files and comparison screenshots.
https://drive.google.com/file/d/1t5L8V1 ... drive_link
I export HDR AVIF images from Adobe Lightroom in the HDR Rec.2020 color space with HDR Output enabled. My display is an LG C6 OLED with HDR enabled in Windows 11.
For the screenshots below, I captured them in SDR intentionally, since Windows HDR screenshots do not accurately represent what is displayed. Even in SDR, the difference between applications is clearly visible.
For example, the AVIF files are displayed correctly in:
Google Chrome (when the file is dragged into a browser tab)
Light Matter v0.1.4
Unfortunately, XnView MP does not display these HDR AVIF files correctly. It appears that the HDR metadata and/or color management is not being handled properly.
I would really appreciate it if HDR AVIF support on Windows could be improved in a future version of XnView MP.
I have attached sample files and comparison screenshots.
https://drive.google.com/file/d/1t5L8V1 ... drive_link
You do not have the required permissions to view the files attached to this post.
Last edited by PikaTeach on Tue Jul 14, 2026 10:59 am, edited 1 time in total.
-
Kadet
- Posts: 276
- Joined: Thu Oct 20, 2022 7:23 pm
Re: Bad display of avif and jpg xl with HDR
Do you have enabled ICC profile in the settings (Color management)?
-
PikaTeach
- Posts: 5
- Joined: Mon Jul 13, 2026 4:13 pm
Re: Bad display of avif and jpg xl with HDR
I am not using a custom ICC profile.Kadet wrote: Mon Jul 13, 2026 6:46 pm Do you have enabled ICC profile in the settings (Color management)?
After your question, I also tried manually assigning the ICC profile created by the Windows HDR Calibration app (the one Windows uses when HDR is enabled). Unfortunately, it made no difference when viewing the HDR AVIF file in XnView MP.
May I also ask how the sample HDR AVIF images that I uploaded appear on your system? Do they look bright and high-contrast, or do they appear dull and washed out, similar to what is shown in my comparison screenshots?
You do not have the required permissions to view the files attached to this post.
-
Kadet
- Posts: 276
- Joined: Thu Oct 20, 2022 7:23 pm
Re: Bad display of avif and jpg xl with HDR
Sorry, but I can't download these files. For some mysterious reasons, Google blocks it.
For the ICC profile to work, you must enable it - switch ON the checkbox to the left of the "Use ICC..." text.
For the ICC profile to work, you must enable it - switch ON the checkbox to the left of the "Use ICC..." text.
-
PikaTeach
- Posts: 5
- Joined: Mon Jul 13, 2026 4:13 pm
Re: Bad display of avif and jpg xl with HDR
I have re-uploaded the files as a ZIP archive, so they should be downloadable now.Kadet wrote: Tue Jul 14, 2026 9:49 am Sorry, but I can't download these files. For some mysterious reasons, Google blocks it.
For the ICC profile to work, you must enable it - switch ON the checkbox to the left of the "Use ICC..." text.
https://drive.google.com/file/d/1t5L8V1 ... drive_link
As I mentioned earlier, after you brought up ICC profiles, I tested several different configurations. I first tried the default settings with "Use ICC profile" enabled, without assigning any additional profile. Then I manually assigned the ICC profile created by the Windows HDR Calibration app. I also tried the sRGB Color Space Profile.icm and several other ICC profiles from the same folder, just to see if there would be any difference.
I restarted XnView MP after each change to ensure the new settings were applied.
Unfortunately, none of these configurations had any effect on the HDR AVIF images.
You do not have the required permissions to view the files attached to this post.
-
Kadet
- Posts: 276
- Joined: Thu Oct 20, 2022 7:23 pm
Re: Bad display of avif and jpg xl with HDR
HDR AVIF is also displayed incorrectly for me. And now when I look at two old test images, they do not show the correct colors either.
-
PikaTeach
- Posts: 5
- Joined: Mon Jul 13, 2026 4:13 pm
Re: Bad display of avif and jpg xl with HDR
In that case, it would be great if one of the XnView developers could comment on whether HDR image support is technically possible and whether it is planned for XnView MP in the future.Kadet wrote: Tue Jul 14, 2026 6:36 pm HDR AVIF is also displayed incorrectly for me. And now when I look at two old test images, they do not show the correct colors either.
I also tested JPEG XL. Lightroom can export HDR images as 16-bit JXL, but these files are also displayed incorrectly in XnView MP. However, they display correctly in the Windows Photos app when the JPEG XL extension is installed.
At the moment, HDR AVIF images seem to display correctly only in Chromium-based browsers (such as Chrome and Edge) and in Light Matter. It's a bit inconvenient to use a separate application just for viewing HDR AVIF images.
HDR AVIF support would already be a huge improvement. If HDR JPEG XL support could also be added in the future, that would be fantastic.
-
Kadet
- Posts: 276
- Joined: Thu Oct 20, 2022 7:23 pm
Re: Bad display of avif and jpg xl with HDR
JXL HDR works OK for my SDR monitor in WIn11.
-
PikaTeach
- Posts: 5
- Joined: Mon Jul 13, 2026 4:13 pm
Re: Bad display of avif and jpg xl with HDR
On my system, JXL HDR also looks a little better than HDR AVIF in XnView MP when Windows is running in SDR mode. However, the Windows Photos app displays the colors much closer to how the image looks in Lightroom before export.
When both Windows and my TV are switched to HDR mode, XnView MP still appears to display the JXL image within an SDR range, while Windows Photos displays it correctly in HDR and preserves the full highlight detail. Unfortunately, I can't demonstrate that particular difference with SDR screenshots because of the limitations of SDR captures.
Besides not displaying the HDR image correctly, the colors in XnView MP also differ from Lightroom even when viewed in SDR.
I'll attach four comparison screenshots:
JXL HDR in Windows Photos
JXL HDR in XnView MP
HDR AVIF in XnView MP
Lightroom (reference, showing how the image looks before export)
I'll also include a link to the HDR JXL file itself, so you can compare it on your own system if you'd like.
https://drive.google.com/file/d/18EBhw1 ... drive_link
If it helps, I'll also include the original RAW file, so you can try exporting it yourself from Lightroom using the same HDR settings.
https://drive.google.com/file/d/1MCheIr ... drive_link
You do not have the required permissions to view the files attached to this post.