3 ms·
What do you mean "it doesn't work"? What does your console say? I actually log the HDR capabilities to console while feature detecting: https://github.com/bh
by bhouston 8mo ago
What do you mean "it doesn't work"?
What does your console say?
I actually log the HDR capabilities to console while feature detecting:
https://github.com/bhouston/hdrify/blob/main/demos/web-converter/src/hooks/useHdrCanvasSupport.ts https://github.com/bhouston/hdrify/blob/main/demos/web-conve...
- zamadatix 8mo agoI'm also not seeing actual HDR display setup (DisplayHDR 1400) for some reason even though it works for other images/videos on other sites (Chrome+Windows for this test). The logs look clean: isFloat16 true isDisplayP3 true isDisplayP3 with Float16 true But the image is dull and/or blown out instead of actually displayed with HDR. Based on the above logs and poking around with the canvas context for a second, I think the issue might be the <canvas> seems to be using display-p3 and that only gives WCG. For HDR in <canvas> I think you need a different color space. See e.g. at https://testufo.com/#background=stars-hdr&text=color(rec2020_0_3_0) https://testufo.com/#background=stars-hdr&text=color(rec2020... and then toggle between "WCG - Display-P3" and "HDR - Rec.2100 PQ".
- jiggawatts 8mo agoA simple test of true HDR output is to move the mouse cursor over the brightest highlight in the picture. If the cursor looks "grey", then HDR is working. If it's the same brightness as the cursor, then it has been tone-mapped to SDR.