# cmykToXyz

fun cmykToXyz(context: Context, @Size(value = 4) cmykIn: DoubleArray, @Size(value = 3) refOut: DoubleArray, bpc: Boolean): DoubleArray

Calculates XYZ value from CMYK input using built-in lookup tables

#### Return

XYZ value output, unity scale (element order X, Y, Z)

#### Parameters

context

Context

cmykIn

CMYK colour input, unity scale (element order C, M, Y, K)

refOut

Reference white value for XYZ output, unity scale (element order X, Y, Z)

bpc

set to true to perform black point compensation

fun cmykToXyz(@Size(value = 4) cmykIn: DoubleArray, @Size(value = 3) refOut: DoubleArray, bpc: Boolean, m: Array<DoubleArray>, input: Array<IntArray>, clut: Array<IntArray>, output: Array<IntArray>): DoubleArray

Calculates XYZ value from CMYK input using lookup tables provided as input arguments

#### Return

XYZ value output, unity scale (element order X, Y, Z)

#### Parameters

cmykIn

CMYK colour input, unity scale (element order C, M, Y, K)

refOut

Reference white value for XYZ output, unity scale (element order X, Y, Z)

bpc

Set to true to perform black point compensation

m

3x3 Extracted from ICC profile: transformation matrix to perform on LAB value (NOT used in current function)

input

256x4 Extracted from ICC profile: InputCurves

clut

6561x3 Extracted from ICC profile: CMYK to LAB LUT (flattened 9x9x9x9 array with 3 channels, one each for L, A, B)

output

Extracted from ICC profile: OutputCurves (NOT used in current function, default profile has 1:1 output)