Table of Contents

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

Matrix4x4

MemoryAllocator

Gets the memory allocator.

public MemoryAllocator MemoryAllocator { get; init; }

Property Value

MemoryAllocator

SourceIccProfile

Gets the source ICC profile.

public IccProfile? SourceIccProfile { get; init; }

Property Value

IccProfile

SourceRgbWorkingSpace

Gets the source working space used for companding in conversions from/to XYZ color space.

public RgbWorkingSpace SourceRgbWorkingSpace { get; init; }

Property Value

RgbWorkingSpace

SourceWhitePoint

Gets the source white point used for chromatic adaptation in conversions from/to XYZ color space.

public CieXyz SourceWhitePoint { get; init; }

Property Value

CieXyz

TargetIccProfile

Gets the target ICC profile.

public IccProfile? TargetIccProfile { get; init; }

Property Value

IccProfile

TargetRgbWorkingSpace

Gets the destination working space used for companding in conversions from/to XYZ color space.

public RgbWorkingSpace TargetRgbWorkingSpace { get; init; }

Property Value

RgbWorkingSpace

TargetWhitePoint

Gets the destination white point used for chromatic adaptation in conversions from/to XYZ color space.

public CieXyz TargetWhitePoint { get; init; }

Property Value

CieXyz

YCbCrTransform

Gets the YCbCr matrix to used to perform conversions from/to RGB.

public YCbCrTransform YCbCrTransform { get; init; }

Property Value

YCbCrTransform