ImageGear Professional for Windows ActiveX
SeparateImageChannels Method

Description:

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.

Syntax:

      SeparateImageChannels (ByVal pPage As IGPage, ByVal
dstColorSpace As enumIGColorSpaces)

Parameters:

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.

Return Value:

N/A

Bits Per Pixel:

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback