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

Converts RBG color from a set of red, green, and blue color components to CMY color into a set of Cyan, Magenta and Yellow components.

C#
public ColorRGBtoCMY(
    int RedValue, 
    int GreenValue, 
    int BlueValue, 
    ref int CyanReturn, 
    ref int MagentaReturn, 
    ref int YellowReturn
);
Visual Basic
Public Sub ColorRGBtoCMY(
    ByVal RedValue As Integer, 
    ByVal GreenValue As Integer, 
    ByVal BlueValue As Integer, 
    ByRef CyanReturn As Integer, 
    ByRef MagentaReturn As Integer, 
    ByRef YellowReturn 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]. 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.