ColorPrimaries type

Color primaries.

sRGB uses the same primaries as BT.709. Use "bt709" for sRGB primaries. BT.2100 uses the same primaries as BT.2020. Use "bt2020" for BT.2100 primaries.

Vendor camera gamuts pair with their log curves (see TransferFunction): "sGamut3"/"sGamut3Cine" with "slog3", "arriWideGamut3" with "logc3", "arriWideGamut4" with "logc4", "canonCinemaGamut" with "clog2"/"clog3", "redWideGamut" with "log3g10". H.273 has no codes for any of them, so re-ingested output arrives tagged as Unspecified primaries.

Signature:

export type ColorPrimaries = "bt709" | "bt470m" | "bt470bg" | "smpte170m" | "smpte240m" | "film" | "bt2020" | "dciP3" | "displayP3" | "bt601_525" | "bt601_625" | "sGamut3" | "sGamut3Cine" | "arriWideGamut3" | "arriWideGamut4" | "canonCinemaGamut" | "redWideGamut";