Table of Contents

Class GammaWorkingSpace

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

The gamma working space.

public sealed class GammaWorkingSpace : RgbWorkingSpace
Inheritance
GammaWorkingSpace
Inherited Members

Constructors

GammaWorkingSpace(float, CieXyz, RgbPrimariesChromaticityCoordinates)

Initializes a new instance of the GammaWorkingSpace class.

public GammaWorkingSpace(float gamma, CieXyz referenceWhite, RgbPrimariesChromaticityCoordinates chromaticityCoordinates)

Parameters

gamma float

The gamma value.

referenceWhite CieXyz

The reference white point.

chromaticityCoordinates RgbPrimariesChromaticityCoordinates

The chromaticity of the rgb primaries.

Properties

Gamma

Gets the gamma value.

public float Gamma { get; }

Property Value

float

Methods

Compress(float)

public override float Compress(float channel)

Parameters

channel float

Returns

float

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Expand(float)

public override float Expand(float channel)

Parameters

channel float

Returns

float

GetHashCode()

public override int GetHashCode()

Returns

int