Class Rec709WorkingSpace
- Namespace
- SixLabors.ImageSharp.ColorProfiles.WorkingSpaces
- 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
referenceWhiteCieXyzThe reference white point.
chromaticityCoordinatesRgbPrimariesChromaticityCoordinatesThe 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
vectorVector4The vector.
Returns
Compress(Span<Vector4>)
Compresses the linear vectors to their nonlinear equivalents with respect to the energy.
public override void Compress(Span<Vector4> vectors)
Parameters
Expand(Vector4)
Compresses the linear vector to its nonlinear equivalent with respect to the energy.
public override Vector4 Expand(Vector4 vector)
Parameters
vectorVector4The vector.
Returns
Expand(Span<Vector4>)
Expands the nonlinear vectors to their linear equivalents with respect to the energy.
public override void Expand(Span<Vector4> vectors)