You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Color Object Creation & Color Space Conversion > ColorRGBtoCMYK Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.ColorRGBtoCMYK Method

Converts RBG color from a set of red, green, and blue color components to CMYK color into a set of Cyan, Magenta, Yellow and Black (Key) components.

C#
public ColorRGBtoCMYK(
    int RedValue, 
    int GreenValue, 
    int BlueValue, 
    ref int CyanReturn, 
    ref int MagentaReturn, 
    ref int YellowReturn, 
    ref int BlackReturn
);
Visual Basic
Public Sub ColorRGBtoCMYK(
    ByVal RedValue As Integer, 
    ByVal GreenValue As Integer, 
    ByVal BlueValue As Integer, 
    ByRef CyanReturn As Integer, 
    ByRef MagentaReturn As Integer, 
    ByRef YellowReturn As Integer, 
    ByRef BlackReturn As Integer
)
Parameters
Parameters 
Description 
RedValue 
Input red component value [0 - 255].  
GreenValue 
Input green component value [0 - 255].  
BlueValue 
Input blue component value [0 - 255].  
CyanReturn 
Output parameter. Cyan component value [0 - 255].  
MagentaReturn 
Output parameter. Magenta component value [0 - 255].  
YellowReturn 
Output parameter. Yellow component value [0 - 255].  
BlackReturn 
Output parameter. Black component (Key) value [0 - 255]. 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.