GdPicture image identifier.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / GetColorChannelFlagsK Method

GetColorChannelFlagsK Method (GdPictureImaging)

In This Topic
Returns a new GdPicture image based on the Key (Black) channel of the CMYK color space of a GdPicture image.
Syntax
'Declaration
 
Public Function GetColorChannelFlagsK( _
   ByVal ImageID As Integer _
) As Integer
public int GetColorChannelFlagsK( 
   int ImageID
)
public function GetColorChannelFlagsK( 
    ImageID: Integer
): Integer; 
public function GetColorChannelFlagsK( 
   ImageID : int
) : int;
public: int GetColorChannelFlagsK( 
   int ImageID
) 
public:
int GetColorChannelFlagsK( 
   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