colour.CMYK_to_CMY#
- colour.CMYK_to_CMY(CMYK: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#
Convert from CMYK colourspace to CMY colourspace.
- Parameters:
CMYK (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – CMYK colourspace array.
- Returns:
CMY array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
CMYK1
1
Range
Scale - Reference
Scale - 1
CMY1
1
References
[EasyRGBa]
Examples
>>> CMYK = np.array([0.50000000, 0.00000000, 0.74400000, 0.01960784]) >>> CMYK_to_CMY(CMYK) array([0.5098039..., 0.0196078..., 0.7490196...])