Class ColorConversionOptions
- Namespace
- SixLabors.ImageSharp.ColorProfiles
- Assembly
- SixLabors.ImageSharp.dll
Provides options for color profile conversion.
public class ColorConversionOptions
- Inheritance
-
ColorConversionOptions
- Inherited Members
Constructors
ColorConversionOptions()
Initializes a new instance of the ColorConversionOptions class.
public ColorConversionOptions()
Properties
AdaptationMatrix
Gets the transformation matrix used in conversion to perform chromatic adaptation. KnownChromaticAdaptationMatrices for further information. Default is Bradford.
public Matrix4x4 AdaptationMatrix { get; init; }
Property Value
MemoryAllocator
Gets the memory allocator.
public MemoryAllocator MemoryAllocator { get; init; }
Property Value
SourceIccProfile
Gets the source ICC profile.
public IccProfile? SourceIccProfile { get; init; }
Property Value
SourceRgbWorkingSpace
Gets the source working space used for companding in conversions from/to XYZ color space.
public RgbWorkingSpace SourceRgbWorkingSpace { get; init; }
Property Value
SourceWhitePoint
Gets the source white point used for chromatic adaptation in conversions from/to XYZ color space.
public CieXyz SourceWhitePoint { get; init; }
Property Value
TargetIccProfile
Gets the target ICC profile.
public IccProfile? TargetIccProfile { get; init; }
Property Value
TargetRgbWorkingSpace
Gets the destination working space used for companding in conversions from/to XYZ color space.
public RgbWorkingSpace TargetRgbWorkingSpace { get; init; }
Property Value
TargetWhitePoint
Gets the destination white point used for chromatic adaptation in conversions from/to XYZ color space.
public CieXyz TargetWhitePoint { get; init; }
Property Value
YCbCrTransform
Gets the YCbCr matrix to used to perform conversions from/to RGB.
public YCbCrTransform YCbCrTransform { get; init; }