Does XnView supporting HDR AVIF/JPEG XL?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

MhaVob
Posts: 1
Joined: Mon Dec 25, 2023 2:28 pm

Does XnView supporting HDR AVIF/JPEG XL?

Post by MhaVob »

How is XnView adapted to show HDR files nowadays in the Windows environment?
Is ICC working right when HDR in Windows is turned on? Coz in non-HDR photos when I turn ICC off - I see the result is closer to how I see it in the lightroom, some colors still are less saturated)
I started to process my content in HDR(Lightroom recently added support for that).
I found that turning on/off the HDR feature in Windows affects the picture in XnView.
When HDR in Windows is turned on the ICC in XnView working not right according to what I see:
AVIF looks Dull, .jxl - looks dark. If turning HDR off the HDR content generally looks close to the Lightroom original, but doesn't match at 100%
My environment:
  • Windows 11 22621
  • XnView 1.6.3 x64
  • HDR Capable LG C1 as my monitor
  • Lightroom Classic 13.0.2
  • Google Chrome 120.0.6099.130
  • HDR in windows Turned on
I configured my LG C1 for HDR image performance: for example changed stock EOTF to the ST 2048 and after that most of the content started to look right, for example with HDR turned on SDR video generally looks more dull and brighter, so you need to turn it off to see the "original look" of it, but if EOTF is configured as i mentioned - the SDR content looks "like it should be" even if HDR in windows turned on.
In Google Chrome I see the .avif HDR images exported from Lightroom are the same.(100%match, HDR turned on)(P.s. sadly can't open jxl with it)
Windows photo opening only .jpg and they for some reason matching "Preview for SDR Display" from Lightroom, so looks like not capable of HDR and don't support other formats.
I found that Lightroom HDR processing doesn't work right if you using in Windows HDR calibrated profile made from the "calibrate Windows HDR" program, so right now I'm using just the DCI-P3 profile as a system profile and XnView using the System profile settings, as the Lightroom, but results of displaying are very different....
User avatar
o-l-a-v
Posts: 13
Joined: Thu May 01, 2014 1:50 pm

Re: Does XnView supporting HDR AVIF/JPEG XL?

Post by o-l-a-v »

Sample HDR AVIF image that looks dull / wrong when opened with XnView MP v1.6.4 with Tools -> Settings -> General -> Color Profile -> Use ICC Profile for monitor enabled.
Found here:
XnView to the left, Thorium browser v121 to the right.
XnView MP - 240220 - AVIF HDR looks dull.jpg
The same issue but with JPEG XL (JXL) was reported and fixed here:
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 43700
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Does XnView supporting HDR AVIF/JPEG XL?

Post by xnview »

AVIF uses libheif, and no metadata like ICC is return...
Pierre.