ConversionExtensions.ToYCbCr

Extension Method in ConversionExtensions

Declaration

public static YCbCr ToYCbCr(this Color color)

Description

Converts the color to Y′CbCr components.

Parameters

colorThe color to convert.

Returns

YCbCrThe Y′CbCr components of the color.

Overload

Declaration

public static YCbCr ToYCbCr(this Color color, SignalEncoding encoding)

Description

Converts the color to Y′CbCr components using the given encoding.

Parameters

colorThe color to convert.
encodingThe encoding to use.

Returns

YCbCrThe Y′CbCr components of the color.