SKColorspaceTransferFnCicp Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies transfer functions (opto-electronic transfer characteristics) using ITU-T H.273 / ISO 23001-8 Coding-Independent Code Points (CICP) values.
public enum SKColorspaceTransferFnCicp
- Inheritance
-
SKColorspaceTransferFnCicp
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | Unknown or unspecified transfer characteristics (code point 0). |
| Rec709 | 1 | ITU-R BT.709 transfer characteristics (code point 1), used for HDTV; also matches sRGB in practice. |
| Rec470SystemM | 4 | ITU-R BT.470 System M transfer characteristics (code point 4), assuming a display gamma of 2.2. |
| Rec470SystemBg | 5 | ITU-R BT.470 System B/G transfer characteristics (code point 5), assuming a display gamma of 2.8. |
| Rec601 | 6 | ITU-R BT.601 transfer characteristics (code point 6), used for standard-definition television. |
| SmpteSt240 | 7 | SMPTE ST 240 transfer characteristics (code point 7), used for early HDTV production. |
| Linear | 8 | Linear transfer characteristics with no gamma encoding (code point 8). |
| Iec6196624 | 11 | IEC 61966-2-4 transfer characteristics (code point 11), used for xvYCC extended-gamut video. |
| Iec6196621 | 13 | IEC 61966-2-1 transfer characteristics (code point 13), defining the sRGB and sYCC transfer functions. |
| Rec202010bit | 14 | ITU-R BT.2020 10-bit transfer characteristics (code point 14), used for 10-bit UHD content. |
| Rec202012bit | 15 | ITU-R BT.2020 12-bit transfer characteristics (code point 15), used for 12-bit UHD content. |
| Pq | 16 | SMPTE ST 2084 Perceptual Quantizer (PQ) transfer characteristics (code point 16), used for HDR10 content. |
| SmpteSt4281 | 17 | SMPTE ST 428-1 transfer characteristics (code point 17), defining the D-Cinema transfer function with a power-law gamma of approximately 2.6. |
| Hlg | 18 | ARIB STD-B67 Hybrid Log-Gamma (HLG) transfer characteristics (code point 18), used for HDR broadcast per ITU-R BT.2100. |
Examples
Creating an HDR PQ color space with BT.2020 primaries:
using var colorSpace = SKColorSpace.CreateCicp(
SKColorspacePrimariesCicp.Rec2020,
SKColorspaceTransferFnCicp.Pq,
SKColorspaceMatrixCoefficients.Identity,
SKColorspaceRange.Full);
Remarks
`SKColorspaceTransferFnCicp` enumerates the standard transfer functions defined by the ITU-T H.273 and ISO/IEC 23001-8 specifications. These values are used as parameters when calling <xref:SkiaSharp.SKColorSpace.CreateCicp*> to create a CICP-specified color space.
Each member's numeric value corresponds directly to the "Transfer characteristics" code point in Table 3 of ITU-T H.273.