ToCmykIccBytes

CmykColorHelper.ToCmykIccBytes method

Converts RGB to CMYK using custom ICC profiles.

public static byte[] ToCmykIccBytes(int[] pixels, int startIndex, int length, Stream rgbIccStream, 
    Stream cmykIccStream)
ParameterTypeDescription
pixelsInt32[]The RGB colors presented as 32-bit integer values.
startIndexInt32The start index of RGB color.
lengthInt32The number of RGB pixels to convert.
rgbIccStreamStreamThe RGB profile stream.
cmykIccStreamStreamThe CMYK profile stream.

Return Value

The CMYK colors presented as a byte array.

See Also