Table of Contents

Class Rec709WorkingSpace

Namespace
SixLabors.ImageSharp.ColorSpaces.Conversion
Assembly
SixLabors.ImageSharp.dll

Rec. 709 (ITU-R Recommendation BT.709) working space.

public sealed class Rec709WorkingSpace : RgbWorkingSpace
Inheritance
Rec709WorkingSpace
Inherited Members

Constructors

Rec709WorkingSpace(CieXyz, RgbPrimariesChromaticityCoordinates)

Initializes a new instance of the Rec709WorkingSpace class.

public Rec709WorkingSpace(CieXyz referenceWhite, RgbPrimariesChromaticityCoordinates chromaticityCoordinates)

Parameters

referenceWhite CieXyz

The reference white point.

chromaticityCoordinates RgbPrimariesChromaticityCoordinates

The chromaticity of the rgb primaries.

Methods

Compress(float)

Compresses an uncompanded channel (linear) to its nonlinear equivalent (depends on the RGB color system).

public override float Compress(float channel)

Parameters

channel float

The channel value.

Returns

float

The float representing the nonlinear channel value.

Remarks

Expand(float)

Expands a companded channel to its linear equivalent with respect to the energy.

public override float Expand(float channel)

Parameters

channel float

The channel value.

Returns

float

The float representing the linear channel value.

Remarks