ImageGlass
ImageGlass copied to clipboard
JPEG XL HDR images on a non-HDR-system appears dark and dull
System information:
- Windows OS version: 11 22621
- ImageGlass version: v8.10.9.27 and 9.0.6.1008_RC_x64_net6
To Reproduce
Steps to reproduce the behavior:
1. Download sample image
Download this sample image: https://people.csail.mit.edu/ericchan/hdr/hdr-jxl.php Found here: https://people.csail.mit.edu/ericchan/hdr/jxl_images/20140606_102418_IMGP0297.jxl
2. Open with ImageGlass
Open image with ImageGlass, but also other image viewers to compare.
So far I've found that following seems to work correctly:
- GIMP v2.10.34
- PhotoQt v3.4
- Thorium Browser (thorium-win-avx2) v117.0.5938.157
While following doesn't:
- ImageGlass v8.10.9.27 and 9.0.6.1008_RC_x64_net6
- IrfanView v4.62 with plugins v4.62
- Fixed in unreleased updated IrfanView plugin.
- JPEGView v1.2.45.0
- Paint.NET v5.0.11 with pdn-jpegxl v1.0.3
- Fixed since v1.0.5: https://github.com/0xC0000054/pdn-jpegxl/releases/tag/v1.0.5
- XnViewMP v1.6.1
- Works if enabling ICC from Tools -> Settings -> General -> ICC.
Actual behavior:
Expected behavior:
ImageGlass shouldn't look that dark and dull.
Screenshots:
Already provided in "Actual behavior".
Additional context:
Already provided in "To reproduce".
I can confirm that even with HDR-capable system (mine Windows 10 22H2 with 1000 nit HDR monitor), jxl HDR images look gray-ish. Adobe Lr/Ps opens and renders HDR fine.
In XnView MP it works if enabling ICC from Tools -> Settings -> General -> ICC.
The Paint.NET extension pdn-jpegxl fixed it by "Convert XYB images to sRGB when loading".
Seems to be related to the XYB color space and ICC, but I'm no wizard on this topic.
In XnView MP it works if enabling ICC from Tools -> Settings -> General -> ICC. The Paint.NET extension
pdn-jpegxlfixed it by "Convert XYB images to sRGB when loading".Seems to be related to the XYB color space and ICC, but I'm no wizard on this topic.
hmm interesting, I tested XnView MP and it does properly fallback to SDR, but still lose that HDR highlight above paper white. My test image is https://gwy15.github.io/hdr/IMG01623-HDR.html
In XnView MP it works if enabling ICC from Tools -> Settings -> General -> ICC. The Paint.NET extension
pdn-jpegxlfixed it by "Convert XYB images to sRGB when loading". Seems to be related to the XYB color space and ICC, but I'm no wizard on this topic.hmm interesting, I tested XnView MP and it does properly fallback to SDR, but still lose that HDR highlight above paper white. My test image is https://gwy15.github.io/hdr/IMG01623-HDR.html
In what editor or viewer does it look correct in your opinion? I tried five different ones. GIMP and Paint.NET looks most correct IMO.
- Left: GIMP
- Middle top: IrfanView with https://www.irfanview.net/plugins/jpeg_xl_64.zip
- Middle bottom: Paint.NET v5.0.11 with pdn-jpegxl v1.0.5
- Right top: XnView MP v1.6.1 with ICC enabled
- Right bottom: Thorium v117
@o-l-a-v from this SDR image, I really couldn't tell which one has proper HDR highlight (on the left face). I'll test these softwares later today. But in terms of coloring, GIMP and Paint.NET is the most accurate from what I see in Adobe Camera Raw.
GIMP: properly fallback to SDR. No HDR effect.
Paint.NET v5.0.11 with pdn-jpegxl: properly fallback to SDR. No HDR effect.
XnView.MP: not-so-great SDR fallback. No HDR effect.
Thorium: HDR effect works, but not fully delivers the peak brightness. I should address that Thorium does not deliver an "over bright" image, but rather an "under bright" image. The avif in the html I mentioned is more accurate to what I meant it to be in the Adobe camera raw when I created it.
@gwy15 XnView MP v1.6.2 seems to display your sample image correctly now.
Tested again with ImageGlass 9, here's two HDR images that looks wrong.
- Sample 1: Looks dark and dull: https://people.csail.mit.edu/ericchan/hdr/jxl_images/20140606_102418_IMGP0297.jxl
- Sample 2 from @gwy15: Looks way to bright: https://github.com/gwy15/hdr/blob/main/IMG01623-HDR.jxl
Tested with 9.0.8.1208, behavior hasn't changed.
same problem here, AVIF photo that exported by LightRoom with HDR information looks gray