Table of Contents

Class Rec2020WorkingSpace

Namespace
SixLabors.ImageSharp.ColorProfiles.WorkingSpaces
Assembly
SixLabors.ImageSharp.dll

Rec. 2020 (ITU-R Recommendation BT.2020F) working space.

public sealed class Rec2020WorkingSpace : RgbWorkingSpace
Inheritance
Rec2020WorkingSpace
Inherited Members

Constructors

Rec2020WorkingSpace(CieXyz, RgbPrimariesChromaticityCoordinates)

Initializes a new instance of the Rec2020WorkingSpace class.

public Rec2020WorkingSpace(CieXyz referenceWhite, RgbPrimariesChromaticityCoordinates chromaticityCoordinates)

Parameters

referenceWhite CieXyz

The reference white point.

chromaticityCoordinates RgbPrimariesChromaticityCoordinates

The chromaticity of the rgb primaries.

Methods

Compress(Vector4)

Compresses the linear vector to its nonlinear equivalent with respect to the energy.

public override Vector4 Compress(Vector4 vector)

Parameters

vector Vector4

The vector.

Returns

Vector4

The Vector4.

Compress(Span<Vector4>)

Compresses the linear vectors to their nonlinear equivalents with respect to the energy.

public override void Compress(Span<Vector4> vectors)

Parameters

vectors Span<Vector4>

The span of vectors.

Expand(Vector4)

Compresses the linear vector to its nonlinear equivalent with respect to the energy.

public override Vector4 Expand(Vector4 vector)

Parameters

vector Vector4

The vector.

Returns

Vector4

The Vector4.

Expand(Span<Vector4>)

Expands the nonlinear vectors to their linear equivalents with respect to the energy.

public override void Expand(Span<Vector4> vectors)

Parameters

vectors Span<Vector4>

The span of vectors.