Table of Contents

Namespace SixLabors.ImageSharp.ColorProfiles

Classes

ColorConversionOptions

Provides options for color profile conversion.

ColorProfileConverter

Allows the conversion of color profiles.

ColorProfileConverterExtensionsCieLabCieLab

Allows conversion between two color profiles based on the CIE Lab color space.

ColorProfileConverterExtensionsCieLabCieXyz

Allows conversion between two color profiles based on the CIE Lab and CIE XYZ color spaces.

ColorProfileConverterExtensionsCieLabRgb

Allows conversion between two color profiles based on the CIE Lab and RGB color spaces.

ColorProfileConverterExtensionsCieXyzCieLab

Allows conversion between two color profiles based on the CIE XYZ and CIE Lab color spaces.

ColorProfileConverterExtensionsCieXyzCieXyz

Allows conversion between two color profiles based on the CIE XYZ color space.

ColorProfileConverterExtensionsCieXyzRgb

Allows conversion between two color profiles based on the CIE XYZ and RGB color spaces.

ColorProfileConverterExtensionsRgbCieLab

Allows conversion between two color profiles based on the RGB and CIE Lab color spaces.

ColorProfileConverterExtensionsRgbCieXyz

Allows conversion between two color profiles based on the RGB and CIE XYZ color spaces.

ColorProfileConverterExtensionsRgbRgb

Allows conversion between two color profiles based on the RGB color space.

KnownChromaticAdaptationMatrices

Provides matrices for chromatic adaptation, facilitating the adjustment of color values under different light sources to maintain color constancy. This class supports common adaptation transforms based on the von Kries coefficient law, which assumes independent scaling of the cone responses in the human eye. These matrices can be applied to convert color coordinates between different illuminants, ensuring consistent color appearance across various lighting conditions.

KnownIlluminants

The well known standard illuminants. Standard illuminants provide a basis for comparing images or colors recorded under different lighting

KnownRgbWorkingSpaces

Chromaticity coordinates based on: http://www.brucelindbloom.com/index.html?WorkingSpaceInfo.html

KnownYCbCrMatrices

Provides standard YCbCr matrices for RGB to YCbCr conversion.

VonKriesChromaticAdaptation

Implementation of the Von Kries chromatic adaptation model.

Structs

CieLab

Represents a CIE Lab* 1976 color. https://en.wikipedia.org/wiki/Lab_color_space

CieLch

Represents the CIE LCh°, cylindrical form of the CIE Lab* 1976 color. https://en.wikipedia.org/wiki/Lab_color_space#Cylindrical_representation:_CIELCh_or_CIEHLC

CieLchuv

Represents the CIE LCh°, cylindrical form of the CIE Luv* 1976 color. https://en.wikipedia.org/wiki/CIELAB_color_space#Cylindrical_representation:_CIELCh_or_CIEHLC

CieLuv

The CIE 1976 (L*, u*, v*) color space, commonly known by its abbreviation CIELUV, is a color space adopted by the International Commission on Illumination (CIE) in 1976, as a simple-to-compute transformation of the 1931 CIE XYZ color space, but which attempted perceptual uniformity https://en.wikipedia.org/wiki/CIELUV

CieXyChromaticityCoordinates

Represents the coordinates of CIEXY chromaticity space.

CieXyy

Represents an CIE xyY 1931 color https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space

CieXyz

Represents an CIE XYZ 1931 color https://en.wikipedia.org/wiki/CIE_1931_color_space#Definition_of_the_CIE_XYZ_color_space

Cmyk

Represents an CMYK (cyan, magenta, yellow, keyline) color. https://en.wikipedia.org/wiki/CMYK_color_model

Hsl

Represents a Hsl (hue, saturation, lightness) color.

Hsv

Represents a HSV (hue, saturation, value) color. Also known as HSB (hue, saturation, brightness).

HunterLab

Represents an Hunter LAB color. https://en.wikipedia.org/wiki/Lab_color_space.

Lms

LMS is a color space represented by the response of the three types of cones of the human eye, named after their responsivity (sensitivity) at long, medium and short wavelengths. https://en.wikipedia.org/wiki/LMS_color_space

Rgb

Represents an RGB (red, green, blue) color profile.

RgbPrimariesChromaticityCoordinates

Represents the chromaticity coordinates of RGB primaries. One of the specifiers of RgbWorkingSpace.

Y

Represents a Y (luminance) color.

YCbCr

Represents an YCbCr (luminance, blue chroma, red chroma) color.

YCbCrTransform

Represents a YCbCr color transform containing forward and inverse transformation matrices, and the chrominance offsets to apply for full-range encoding

These matrices must be selected to match the characteristics of the associated RgbWorkingSpace, including its transfer function (gamma or companding) and chromaticity coordinates. Using mismatched matrices and working spaces will produce incorrect conversions.

YccK

Represents a YCCK (luminance, blue chroma, red chroma, black) color. YCCK is not a true color space but a reversible transform of CMYK, where the CMY components are converted to YCbCr using the ITU-R BT.601 standard, and the K (black) component is preserved separately.

Interfaces

IColorProfile

Defines the contract for all color profiles.

IColorProfile<TSelf>

Defines the contract for all color profiles.

IColorProfile<TSelf, TProfileSpace>

Defines the contract for all color profiles.

IProfileConnectingSpace

Defines the contract for all color profile connection spaces.

IProfileConnectingSpace<TSelf, TProfileSpace>

Defines the contract for all color profile connection spaces.

Enums

ChromaticAdaptionWhitePointSource

Enumerate the possible sources of the white point used in chromatic adaptation.