Open mdrejhon opened 2 months ago
Thank's for the idea - currently the focus is on HDR but I guess that WCG isn't that far away. Do you mind to share the code you used? My focus is on programatic detection, not visual.
Thank's for the idea - currently the focus is on HDR but I guess that WCG isn't that far away. Do you mind to share the code you used? My focus is on programatic detection, not visual.
Sorry about the fancy visual red herring. You notice that I already use programmatic detection to display the indicator at bottom right. (WCG and HDR)
Safari and FireFox supports WCG canvas (display-p3) but not HDR.
Here's a brand new WCG / HDR tester that I just created.
https://beta.testufo.com/hdr
SDR: Both squares solid WCG: Leftmost square has text HDR: Rightmost square has text
It's possible to have WCG-only (display-p3) or HDR-only (e.g. RGB hex that's been brightened with HDR luminances) but HDR usually includes WCG.
(I use my own detection code, I didn't know about your code, but I wanted to contribute my discovery of WCG and HDR features in different browsers).