CmykColorHelper.ToCmykaIccBytes

CmykColorHelper.ToCmykaIccBytes method

Converts RGB to CMYKA (with alpha) using custom ICC profiles.

public static byte[] ToCmykaIccBytes(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