Kaliko.ImageLibrary
RGBtoCMYK(Int32,Int32,Int32) Method
Red vaue must be in [0, 255].
Green vaue must be in [0, 255].
Blue vaue must be in [0, 255].
Converts RGB to CMYK
Syntax
'Declaration
Public Overloads Shared Function RGBtoCMYK( _ ByVal red As System.Integer, _ ByVal green As System.Integer, _ ByVal blue As System.Integer _ ) As CMYK
'Usage
Dim red As System.Integer Dim green As System.Integer Dim blue As System.Integer Dim value As CMYK value = ColorSpaceHelper.RGBtoCMYK(red, green, blue)
Parameters
- red
- Red vaue must be in [0, 255].
- green
- Green vaue must be in [0, 255].
- blue
- Blue vaue 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