CMYK
CMYK handling is done using babl-spaces created with ICC profiles containing CMYK profiles. BablSpaces for these ICC profiles handle color conversions using lcms2 - or if compiled without lcms2 support a naive profile independent fallback.
When a babl space derived from a CMYK ICC profile is used to instantiate RGB formats, the resulting formats are using the default/NULL space for primaries and TRCs.
The CMYK formats that use lcms2 for color interchange with the rest of babl are the following, which are available for all data types, u8, u16, half and float:
- CMYK
- Cyan Magenta Yellow Key, with 0 being white and 1.0 full ink coverage.
- CMYKA
- as previous, with separate alpha channel
- CaMaYaKaA
- as previous but associated alpha
- cmyk
- inverted CMYK, where 0.0 is full ink coverage and 1.0 is none
- cmykA
- as previous, with separate alpha channel
- camayakaA
- as previous but associated alpha