Class Rec709WorkingSpace
Rec. 709 (ITU-R Recommendation BT.709) working space.
Inherited Members
Namespace: SixLabors.ImageSharp.ColorSpaces.Conversion
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class Rec709WorkingSpace : RgbWorkingSpace
  Constructors
| Edit this page View SourceRec709WorkingSpace(CieXyz, RgbPrimariesChromaticityCoordinates)
Initializes a new instance of the Rec709WorkingSpace class.
Declaration
public Rec709WorkingSpace(CieXyz referenceWhite, RgbPrimariesChromaticityCoordinates chromaticityCoordinates)
  Parameters
| Type | Name | Description | 
|---|---|---|
| CieXyz | referenceWhite | The reference white point.  | 
      
| RgbPrimariesChromaticityCoordinates | chromaticityCoordinates | The chromaticity of the rgb primaries.  | 
      
Methods
| Edit this page View SourceCompress(float)
Compresses an uncompanded channel (linear) to its nonlinear equivalent (depends on the RGB color system).
Declaration
public override float Compress(float channel)
  Parameters
| Type | Name | Description | 
|---|---|---|
| float | channel | The channel value.  | 
      
Returns
| Type | Description | 
|---|---|
| float | The float representing the nonlinear channel value.  | 
      
Overrides
Remarks
For more info see: http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html
Expand(float)
Expands a companded channel to its linear equivalent with respect to the energy.
Declaration
public override float Expand(float channel)
  Parameters
| Type | Name | Description | 
|---|---|---|
| float | channel | The channel value.  | 
      
Returns
| Type | Description | 
|---|---|
| float | The float representing the linear channel value.  | 
      
Overrides
Remarks
For more info see: http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html