Table of Contents

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

primaries CicpColorPrimaries
result RgbPrimariesXY

Returns

bool

true and the chromaticities if the primaries have a representable definition; otherwise false (e.g. for Unspecified, Smpte428, or any reserved value).