Closed palemieux closed 3 years ago
Thanks for proposing this modification. As you can see in PR #22 we are trying to reduce the surface of this API by limiting the number of natively supported color spaces to the bare minimum. Instead of creating new colorspaces to support HDR standards, could we consolidate the PQ behavior into existing configurations? @ccameron-chromium WDYT?
@junov Rec 2100 PQ specifies colors with absolute luminance (in cd/m^2), instead of normalized luminance like sRGB. It is not clear how absolute luminance colors would be mapped to/from extended-srgb
.
@palemieux is this PR still current, or have more recent events overtaken it?
@svgeesus Wow... I had totally forgotten about this. I think it is still germane since (a) canvas does not handle HDR (yet) and (b) the topic is under discussion within the Color CG.
Overtaken by #60
The objective is to add support for use cases when presentation of the canvas requires a greater dynamic range than that provided by the sRGB color space, and when that presentation requires an absolute luminance value.
The approach to converting sRGB colors to Rec 2100 PQ narrow and full quantization colors is the same used in TTML2