xyz To Cmyk
Calculates CMYK value from XYZ input using built in lookup tables
Return
CMYK value output, unity scale (element order C, M, Y, K)
Parameters
Context
XYZ colour input, unity scale (element order X, Y, Z)
Reference white value for XYZIn, unity scale (element order X, Y, Z)
set to true to perform black point compensation
Calculates CMYK value from XYZ using lookup tables provided as inputCurves
arguments
Return
CMYK value on unity scale (element order C, M, Y, K)
Parameters
XYZ colour, unity scale (element order X, Y, Z)
Reference white value for xyzIn, unity scale (element order X, Y, Z)
Black point compensation enabled / disabled
3x3 Extracted from ICC profile: transformation matrix to perform on LAB value (code only tested with identity matrix)
256x3 Extracted from ICC profile: InputCurves
35937x4: Extracted from ICC profile: Lab to CMYK LUT (flattened 33x33x33 array with 4 channels, one each for C,M,Y,K)
256x4: Extracted from ICC profile: OutputCurves