GetYCbCr

PixelDataFormat.GetYCbCr method (1 of 2)

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


PixelDataFormat.GetYCbCr method (2 of 2)

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