jpegview icon indicating copy to clipboard operation
jpegview copied to clipboard

Add HDR support

Open wiketor opened this issue 1 year ago • 4 comments

like support for *.jxr files. Now when I open a HDR file, it will be too dark or too bright.

wiketor avatar Sep 16 '23 15:09 wiketor

Can you give an example of an HDR file? In which file format?

sylikc avatar Oct 07 '23 19:10 sylikc

Can you give an example of an HDR file? In which file format?

Compare I upload a comparison picture. It comes from the HDR screenshot that comes with Windows. You can use the Win + Alt + PrtSc keys to get pictures in HDR mode, and that will get a JXR file.

wiketor avatar Oct 12 '23 04:10 wiketor

One more sample image, JPEG XL. It looks dark and dull on my Windows 11 system that doesn't support HDR.

  • Where I found it: https://people.csail.mit.edu/ericchan/hdr/hdr-jxl.php
  • Image in question: https://people.csail.mit.edu/ericchan/hdr/jxl_images/20140606_102418_IMGP0297.jxl

Screenshot showing Thorium browser vs. JPEGView v1.2.45.0:

image

For comparison, following programs seems to display this sample image correctly:

  • GIMP v2.10.34
  • PhotoQt v3.4
  • Thorium Browser (thorium-win-avx2) v117.0.5938.157

o-l-a-v avatar Oct 17 '23 11:10 o-l-a-v

Here is another one in AVIF format: https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv420_limited_qp10.avif

On SDR displays, it should look like this: https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv420_limited_qp10.avif

Source: reddit

I verified that the latest version of Chrome handles both images correctly (with my Display's HDR on and off).

johncf avatar Apr 13 '24 06:04 johncf