Table of Contents

Enum DxgiColorSpace

Namespace
PaintDotNet.Dxgi
Assembly
PaintDotNet.Windows.dll
public enum DxgiColorSpace

Fields

RgbFullGamma22NoneP709 = 0
Property Value
ColorspaceRGB
Range0-255
Gamma2.2
SitingImage
PrimariesBT.709

This is the standard definition for sRGB.

Note that this is often implemented with a linear segment, but in that case the exponent is corrected to stay aligned with a gamma 2.2 curve.

This is usually used with 8 or 10 bit color channels.

RgbFullGamma10NoneP709 = 1
Property Value
ColorspaceRGB
Range0-255
Gamma1.0
SitingImage
PrimariesBT.709

This is the standard definition for scRGB, and is usually used with 16 bit integer, 16 bit floating point, or 32 bit floating point color channels.

RgbStudioGamma22NoneP709 = 2
Property Value
ColorspaceRGB
Range16-235
Gamma2.2
SitingImage
PrimariesBT.709

This is the standard definition for ITU-R Recommendation BT.709. Note that due to the inclusion of a linear segment, the transfer curve looks similar to a pure exponential gamma of 1.9.

This is usually used with 8 or 10 bit color channels.

RgbStudioGamma22NoneP2020 = 3
Property Value
ColorspaceRGB
Range16-235
Gamma2.2
SitingImage
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

Reserved = 4

Reserved.

YCbCrFullGamma22NoneP709X601 = 5
Property Value
ColorspaceYCbCr
Range0-255
Gamma2.2
SitingImage
PrimariesBT.709
Transfer MatrixBT.601

This definition is commonly used for JPG, and is usually used with 8, 10, or 12 bit color channels.

YCbCrStudioGamma22LeftP601 = 6
Property Value
ColorspaceYCbCr
Range16-235
Gamma2.2
SitingVideo
PrimariesBT.601

This definition is commonly used for MPEG2, and is usually used with 8, 10, or 12 bit color channels.

YCbCrFullGamma22LeftP601 = 7
Property Value
ColorspaceYCbCr
Range0-255
Gamma2.2
SitingVideo
PrimariesBT.601

This is sometimes used for H.264 camera capture, and is usually used with 8, 10, or 12 bit color channels.

YCbCrStudioG22LeftP709 = 8
Property Value
ColorspaceYCbCr
Range16-235
Gamma2.2
SitingVideo
PrimariesBT.709

This definition is commonly used for H.264 and HEVC, and is usually used with 8, 10, or 12 bit color channels.

YCbCrFullGamma22LeftP709 = 9
Property Value
ColorspaceYCbCr
Range0-255
Gamma2.2
SitingVideo
PrimariesBT.709

This is sometimes used for H.264 camera capture, and is usually used with 8, 10, or 12 bit color channels.

YCbCrStudioGamma22LeftP2020 = 10
Property Value
ColorspaceYCbCr
Range16-235
Gamma2.2
SitingVideo
PrimariesBT.2020

This definition may be used by HEVC, and is usually used with 10 or 12 bit color channels.

YCbCrFullGamma22LeftP2020 = 11
Property Value
ColorspaceYCbCr
Range0-255
Gamma2.2
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

RgbFullGamma2084NoneP2020 = 12
Property Value
ColorspaceRGB
Range0-255
Gamma2084
SitingImage
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

YCbCrStudioGamma2084LeftP2020 = 13
Property Value
ColorspaceYCbCr
Range16-235
Gamma2084
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

RgbStudioGamma2084NoneP2020 = 14
Property Value
ColorspaceRGB
Range16-235
Gamma2084
SitingImage
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

YCbCrStudioGamma22TopLeftP2020 = 15
Property Value
ColorspaceYCbCr
Range16-235
Gamma2.2
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

YCbCrStudioGamma2084TopLeftP2020 = 16
Property Value
ColorspaceYCbCr
Range16-235
Gamma2084
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

RgbFullGamma22NoneP2020 = 17
Property Value
ColorspaceRGB
Range0-255
Gamma2.2
SitingImage
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

YCbCrStudioGammaHlgTopLeftP2020 = 18
Property Value
ColorspaceYCBCR
Range16-235
GammaHLG
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

YCbCrFullGammaHlgTopLeftP2020 = 19
Property Value
ColorspaceYCBCR
Range0-255
GammaHLG
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

RgbStudioGamma24NoneP709 = 20
Property Value
ColorspaceRGB
Range16-235
Gamma2.4
SitingImage
PrimariesBT.709

This is usually used with 8, 10, or 12 bit color channels.

RgbStudioGamma24NoneP2020 = 21
Property Value
ColorspaceRGB
Range16-235
Gamma2.4
SitingImage
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

YCbCrStudioGamma24LeftP709 = 22
Property Value
ColorspaceYCBCR
Range16-235
Gamma2.4
SitingVideo
PrimariesBT.709

This is usually used with 8, 10, or 12 bit color channels.

YCbCrStudioGamma24LeftP2020 = 23
Property Value
ColorspaceYCBCR
Range16-235
Gamma2.4
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

YCbCrStudioGamma24TopLeft2020 = 24
Property Value
ColorspaceYCBCR
Range16-235
Gamma2.4
SitingVideo
PrimariesBT.2020

This is usually used with 10 or 12 bit color channels.

Custom = -1

A custom color definition is used.