RGBtoXYZ(Int32,Int32,Int32) Method
From Kaliko Image Library
Kaliko.ImageLibrary
RGBtoXYZ(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 CIE XYZ (CIE 1931 color space)
Syntax
'DeclarationPublic Overloads Shared Function RGBtoXYZ( _ ByVal red As System.Integer, _ ByVal green As System.Integer, _ ByVal blue As System.Integer _ ) As CIEXYZ
'UsageDim red As System.Integer Dim green As System.Integer Dim blue As System.Integer Dim value As CIEXYZ value = ColorSpaceHelper.RGBtoXYZ(red, green, blue)
public function RGBtoXYZ( red: System.Integer; green: System.Integer; blue: System.Integer ): CIEXYZ; static;
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