Class ColorSpaceConverterOptions
Configuration options for the ColorSpaceConverter class.
Inherited Members
Namespace: SixLabors.ImageSharp.ColorSpaces.Conversion
Assembly: SixLabors.ImageSharp.dll
Syntax
public class ColorSpaceConverterOptions
Properties
| Edit this page View SourceChromaticAdaptation
Gets or sets the chromatic adaptation method used. When
Declaration
public IChromaticAdaptation? ChromaticAdaptation { get; set; }
Property Value
Type | Description |
---|---|
IChromaticAdaptation |
LmsAdaptationMatrix
Gets or sets transformation matrix used in conversion to and from Lms.
Declaration
public Matrix4x4 LmsAdaptationMatrix { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public CieXyz TargetHunterLabWhitePoint { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public CieXyz TargetLabWhitePoint { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public CieXyz TargetLuvWhitePoint { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public RgbWorkingSpace TargetRgbWorkingSpace { get; set; }
Property Value
Type | Description |
---|---|
RgbWorkingSpace |
WhitePoint
Gets or sets the white point used for chromatic adaptation in conversions from/to XYZ color space.
When
Declaration
public CieXyz WhitePoint { get; set; }
Property Value
Type | Description |
---|---|
CieXyz |