CmykColorHelper.ToPsdCmykIcc

ToPsdCmykIcc(int[], Stream, Stream)

The conversion from ARGB colors to CMYK colors using Icc conversion with custom profiles. Uses PSD CMYK format KCMY byte order with inverted channel values.

public static int[] ToPsdCmykIcc(int[] pixels, Stream rgbIccStream, Stream cmykIccStream)
ParameterTypeDescription
pixelsInt32[]The ARGB colors.
rgbIccStreamStreamThe stream containing RGB Icc profile.
cmykIccStreamStreamThe stream containing CMYK Icc profile.

Return Value

The CMYK colors presented as 32-bit integer values in KCMY byte order with inverted channel values..

See Also


ToPsdCmykIcc(int[])

The conversion from ARGB colors to CMYK colors using Icc conversion with default profiles. Uses PSD CMYK format KCMY byte order with inverted channel values.

public static int[] ToPsdCmykIcc(int[] pixels)
ParameterTypeDescription
pixelsInt32[]The ARGB colors.

Return Value

The CMYK colors presented as 32-bit integer values in KCMY byte order with inverted channel values..

See Also


ToPsdCmykIcc(int)

The conversion from ARGB color to CMYK color using Icc conversion with default profiles. Uses PSD CMYK format KCMY byte order with inverted channel values.

public static int ToPsdCmykIcc(int argb)
ParameterTypeDescription
argbInt32The ARGB color.

Return Value

The CMYK color presented as a 32-bit integer value in KCMY byte order with inverted channel values.

See Also


ToPsdCmykIcc(int, Stream, Stream)

The conversion from ARGB color to CMYK color using Icc conversion with custom profiles.

public static int ToPsdCmykIcc(int pixel, Stream rgbIccStream, Stream cmykIccStream)
ParameterTypeDescription
pixelInt32The ARGB color.
rgbIccStreamStreamThe stream containing RGB Icc profile.
cmykIccStreamStreamThe stream containing CMYK Icc profile.

Return Value

The CMYK colors presented as 32-bit integer values in KCMY byte order with inverted channel values..

See Also