PixelDataFormat.GetYCbCr

GetYCbCr(int)

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

public static PixelDataFormat GetYCbCr(int bitsPerSample)
ParameterTypeDescription
bitsPerSampleInt32The number of bits per sample.

Return Value

The YCbCr color.

See Also


GetYCbCr(int, int, int)

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

public static PixelDataFormat GetYCbCr(int bitsPerY, int bitsPerCb, int bitsPerCr)
ParameterTypeDescription
bitsPerYInt32The number of bits per Y channel.
bitsPerCbInt32The number of bits per Cb channel.
bitsPerCrInt32The number of bits per Cr channel.

Return Value

The YCbCr color.

See Also