multicolorfits.cmyk_to_rgb#

multicolorfits.cmyk_to_rgb(cmyk)[source]#

Vectorized CMYK -> sRGB conversion.

Parameters:

cmyk (numpy.ndarray) – Array with last axis of length 4, values in [0, 1].

Returns:

numpy.ndarray – sRGB array of the same shape with last axis length 3, values in [0, 1].