PixelDataFormat.GetCmyka

PixelDataFormat.GetCmyka method

Gets CMYKA color with a specified number of bits per sample.

public static PixelDataFormat GetCmyka(int bitsPerCyanChannel, int bitsPerMagentaChannel, 
    int bitsPerYellowChannel, int bitsPerKeyChannel, int bitsPerAlphaChannel)
ParameterTypeDescription
bitsPerCyanChannelInt32The number of bits per Cyan channel.
bitsPerMagentaChannelInt32The number of bits per Magenta channel.
bitsPerYellowChannelInt32The number of bits per Yellow channel.
bitsPerKeyChannelInt32The number of bits per Key channel.
bitsPerAlphaChannelInt32The number of bits per Alpha channel.

Return Value

The CMYK color.

See Also