to_cmyk method

to_cmyk

The conversion from Color to CMYKColor. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmyk.

Returns

The Aspose:CAD:CmykColor[].

def to_cmyk(self, pixels):
    ...
ParameterTypeDescription
pixelslistThe pixels of Color type in RGB format.

to_cmyk

The conversion from Color to CMYKColor. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmyk.

Returns

The Aspose:CAD:CmykColor.

def to_cmyk(self, pixel):
    ...
ParameterTypeDescription
pixelColorThe pixel of Color type in RGB format.

See Also