thorium-libjxl
thorium-libjxl copied to clipboard
The HDR metadata of the JXL image is not being utilized.
I exported the same HDR image in AVIF and JXL formats using Adobe Camera Raw, but noticed color differences in Thorium. After investigation, I found that removing the brightness metadata from AVIF results in a display consistent with JXL.
I have confirmed that JXL contains brightness metadata using ExifTool.
I used ffmpeg -i hdr_metadata.avif -c copy no_hdr_metadata.avif
to remove brightness metadata from the AVIF file.
CCV Primaries XY : 0.7079,0.2920,0.1700,0.7970,0.1310,0.0460
CCV White XY : 0.3127,0.3290
CCV Min Luminance Nits : 0.584496
CCV Max Luminance Nits : 818.571806
CCV Avg Luminance Nits : 89.355415
~~And this may help to fix~~. https://chromium-review.googlesource.com/c/chromium/src/+/4020332 This patch is from the Chromium team to add support for HDR metadata in AVIF. I haven't found any similar patches for JXL.