Table of Contents

Class ColorSpaceConverterOptions

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

Configuration options for the ColorSpaceConverter class.

public class ColorSpaceConverterOptions
Inheritance
ColorSpaceConverterOptions
Inherited Members

Constructors

ColorSpaceConverterOptions()

public ColorSpaceConverterOptions()

Properties

ChromaticAdaptation

Gets or sets the chromatic adaptation method used. When null, no adaptation will be performed.

public IChromaticAdaptation? ChromaticAdaptation { get; set; }

Property Value

IChromaticAdaptation

LmsAdaptationMatrix

Gets or sets transformation matrix used in conversion to and from Lms.

public Matrix4x4 LmsAdaptationMatrix { get; set; }

Property Value

Matrix4x4

TargetHunterLabWhitePoint

Gets or sets the white point used when creating HunterLab colors. (HunterLab colors on the input already contain the white point information) Defaults to: DefaultWhitePoint.

public CieXyz TargetHunterLabWhitePoint { get; set; }

Property Value

CieXyz

TargetLabWhitePoint

Gets or sets the white point used when creating Lab/LChab colors. (Lab/LChab colors on the input already contain the white point information) Defaults to: DefaultWhitePoint.

public CieXyz TargetLabWhitePoint { get; set; }

Property Value

CieXyz

TargetLuvWhitePoint

Gets or sets the white point used when creating Luv/LChuv colors. (Luv/LChuv colors on the input already contain the white point information) Defaults to: DefaultWhitePoint.

public CieXyz TargetLuvWhitePoint { get; set; }

Property Value

CieXyz

TargetRgbWorkingSpace

Gets or sets the target working space used when creating RGB colors. (RGB colors on the input already contain the working space information) Defaults to: DefaultWorkingSpace.

public RgbWorkingSpace TargetRgbWorkingSpace { get; set; }

Property Value

RgbWorkingSpace

WhitePoint

Gets or sets the white point used for chromatic adaptation in conversions from/to XYZ color space. When default, no adaptation will be performed. Defaults to: DefaultWhitePoint.

public CieXyz WhitePoint { get; set; }

Property Value

CieXyz