Method TryGetChromaticities
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
TryGetChromaticities(CicpColorPrimaries, out RgbPrimariesXY)
Gets the CIE 1931 (x, y) chromaticities for the given color primaries, per ITU-T H.273 Table 2.
public static bool TryGetChromaticities(this CicpColorPrimaries primaries, out RgbPrimariesXY result)
Parameters
primariesCicpColorPrimariesresultRgbPrimariesXY
Returns
- bool
trueand the chromaticities if the primaries have a representable definition; otherwisefalse(e.g. for Unspecified, Smpte428, or any reserved value).