ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > SeparateImageChannels Method |
Takes a 24-bit or 32-bit image as input and creates from it two to four 8-bit (8-bit gray level) images. This method is the reverse of IGProcessingCtl Control.CombineImageChannels Method. Each of the output images created by this function is grayscale. That is, each has a grayscale palette. The pixel values are those obtained from the input 24-bit or 32-bit image. The result of this method is placed to the IGProcessingCtl Control.ImageChannels Property.
SeparateImageChannels (ByVal pPage As IGPage, ByVal
dstColorSpace As enumIGColorSpaces)
Name | Description |
---|---|
pPage | Reference to IGPage Object. |
dstColorSpace | A constant such as IG_COLOR_SPACE_RGB or IG_COLOR_SPACE_CMYK describing how the individual channels are to be separated or extracted. |
N/A
Image Processing and Effects