GdPicture image identifier.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / GetColorChannelFlagsY Method

GetColorChannelFlagsY Method (GdPictureImaging)

In This Topic
Returns a new GdPicture image based on the Yellow channel of the CMYK color space of a GdPicture image.
Syntax
'Declaration
 
Public Function GetColorChannelFlagsY( _
   ByVal ImageID As Integer _
) As Integer
public int GetColorChannelFlagsY( 
   int ImageID
)
public function GetColorChannelFlagsY( 
    ImageID: Integer
): Integer; 
public function GetColorChannelFlagsY( 
   ImageID : int
) : int;
public: int GetColorChannelFlagsY( 
   int ImageID
) 
public:
int GetColorChannelFlagsY( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

0: The image could not be created. Use the GetStat() method to determine the reason this method failed. Non-zero: GdPicture image identifier. The created image. The ReleaseGdPictureImage() method must be subsequently used to release the image from the memory.
Remarks
According to Wikipedia, CMYK (short for cyan, magenta, yellow, and key) is a subtractive color model used in color printing. This color model is based on mixing pigments of the following colors in order to make other colors: * C = Cyan. * M = Magenta. * Y = Yellow. * K = Key (Black). CMYK is the standard color model used in offset printing for full-color documents. CMYK, or four-color printing, generates a good final printout with excellent contrast.
See Also