Created attachment 173045 [details] Screenshot (may be clipped to SDR), right window is Krita. SUMMARY When HDR output is enabled in Windows and Krita, some images display in weird saturated, corrupted colours. Tested image: https://github.com/AOMediaCodec/av1-avif/blob/master/testFiles/Netflix/avif/hdr_cosmos01000_cicp9-16-0_lossless.avif STEPS TO REPRODUCE 1. Ensure HDR output is enabled on Windows and Krita 2. Open test image 3. Ensure OCIO is disabled. OBSERVED RESULT Canvas displays corrupted colours. EXPECTED RESULT Canvas should display the image in HDR with somewhat correct colours. SOFTWARE/OS VERSIONS Windows: Windows 10 ADDITIONAL INFORMATION Reproducible on 5.2.3 and master (33eb6843).
I can confirm the issue. The artifacts appear only when a specific AVIF file (32f) is loaded. CandleGlass.exr (16f) loads fine. Converting the suggested AVIF into 16f and then back 32f makes it render correctly.
I could also reproduce it with these two images: - https://lightroom.adobe.com/shares/113ab046f0d04b40aa7f8e10285961a7/albums/bc43c03a7f5911ee2d1b60d802dac9f2/assets/29543c9dd7e7dd5ce7391ea796e43efb - https://lightroom.adobe.com/shares/113ab046f0d04b40aa7f8e10285961a7/albums/bc43c03a7f5911ee2d1b60d802dac9f2/assets/ebfa689f5d312ad1c28f94687c1a45b8 Direct links: - https://lightroom.adobe.com/v2c/spaces/113ab046f0d04b40aa7f8e10285961a7/assets/29543c9dd7e7dd5ce7391ea796e43efb/revisions/32f02744e5a64118846268120d6042e6/renditions/bc7876713f0addfc3848415575d7891e.avif - https://lightroom.adobe.com/v2c/spaces/113ab046f0d04b40aa7f8e10285961a7/assets/ebfa689f5d312ad1c28f94687c1a45b8/revisions/040d1a0b3bf543b8948cd80055544957/renditions/e28bb124a152d794781c28d62f90deaf.avif I suspect other images on the site may have the same issue but I haven't tested more.