RGBtoYUV(Int32,Int32,Int32) Method


red must be in [0, 255].
green must be in [0, 255].
blue must be in [0, 255].
Converts RGB to YUV.

Syntax

'Declaration
 
Public Overloads Shared Function RGBtoYUV( _
   ByVal red As Integer, _
   ByVal green As Integer, _
   ByVal blue As Integer _
) As YUV
public static YUV RGBtoYUV( 
   int red,
   int green,
   int blue
)

Parameters

red
red must be in [0, 255].
green
green must be in [0, 255].
blue
blue must be in [0, 255].

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

This documentation was created using Document! X from Innovasys