A mapping of color spaces to their respective channel identifiers.
The colorMappings object defines a collection of color spaces and their corresponding
array of string identifiers representing the channels in that particular color space.
Each color space is represented as a key in the object, and its value is an array of
strings that denote the individual channel names used for that color space.
It uses the Record utility type to ensure that each key corresponds to a predefined
ColorSpace and the associated values are readonly arrays of strings.
A mapping of color spaces to their respective channel identifiers.
The
colorMappings
object defines a collection of color spaces and their corresponding array of string identifiers representing the channels in that particular color space.Each color space is represented as a key in the object, and its value is an array of strings that denote the individual channel names used for that color space.
It uses the
Record
utility type to ensure that each key corresponds to a predefinedColorSpace
and the associated values are readonly arrays of strings.