Table of Contents

Enum CicpColorPrimaries

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

Identifies the chromaticity coordinates of the source primaries (red, green, blue) and the white point. These are the "ColourPrimaries" code points defined by ITU-T H.273 (Table 2) and used by the PNG cICP chunk.

public enum CicpColorPrimaries : byte
Extension Methods

Fields

Bt709 = 1

Rec. ITU-R BT.709-6; also IEC 61966-2-1 (sRGB or sYCC) and IEC 61966-2-4. (D65 white point.)

Unspecified = 2

Unspecified. The primaries are determined by the application or by other means.

Bt470M = 4

Rec. ITU-R BT.470-6 System M (historical), US NTSC 1953, FCC Title 47.

Bt470Bg = 5

Rec. ITU-R BT.470-6 System B, G (historical); BT.601-7 625; BT.1358-0 625; BT.1700 625 PAL and SECAM.

Smpte170M = 6

Rec. ITU-R BT.601-7 525; BT.1358-1 525 or 625; BT.1700 NTSC; SMPTE ST 170.

Smpte240M = 7

SMPTE ST 240 (historical). Functionally the same primaries as Smpte170M.

GenericFilm = 8

Generic film (colour filters using Illuminant C).

Bt2020 = 9

Rec. ITU-R BT.2020-2 and Rec. ITU-R BT.2100-2. (Wide gamut; D65 white point.)

Smpte428 = 10

SMPTE ST 428-1 (CIE 1931 XYZ). (Equal-energy "E" white point.)

Smpte431 = 11

SMPTE RP 431-2 (DCI P3, theater). (DCI white point.)

Smpte432 = 12

SMPTE EG 432-1 (Display P3). (D65 white point.)

Ebu3213 = 22

EBU Tech. 3213-E (historical); JEDEC P22 phosphors.

Remarks

The underlying type is byte to match the 8-bit code point in the cICP chunk. Only the values defined by H.273 are named here; reserved and unassigned values (0, 3, 13–21, and 23–255) are intentionally not enumerated, but still round-trip faithfully because the storage type is a raw byte.