GetYCbCr

PixelDataFormat.GetYCbCr method (1 of 2)

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

public static PixelDataFormat GetYCbCr(int bitsPerSample)
Parameter Type Description
bitsPerSample Int32 The 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)
Parameter Type Description
bitsPerY Int32 The number of bits per Y channel.
bitsPerCb Int32 The number of bits per Cb channel.
bitsPerCr Int32 The number of bits per Cr channel.

Return Value

The YCbCr color.

See Also