This method splits a 24 bit color raster image into seperate bmp images representing each of the CMYK color planes.
Public Function SplitCmykImage(sourceImage As System.Drawing.Image, cyan As System.Drawing.Image, magenta As System.Drawing.Image, yellow As System.Drawing.Image, black As System.Drawing.Image) As Boolean
public bool SplitCmykImage(System.Drawing.Image sourceImage, ref System.Drawing.Image cyan, ref System.Drawing.Image magenta, ref System.Drawing.Image yellow, ref System.Drawing.Image black) ;
Parameters
sourceImage
The 24 bit image to be split into
seperate color planes
cyan
An 8 bit grayscale bmp image
representing the C plane
magenta
An 8 bit grayscale bmp image
representing the M plane
yellow
An 8 bit grayscale bmp image
representing the Y plane
black
An 8 bit grayscale bmp image
representing the K plane
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
The SplitCmykImage method splits a 24 bit color raster image into seperate bmp images representing each of the CMYK color planes. The 24 bit color image to be split is set into the sourceImage parameter. If successful, the image is split into 8 bit grayscale bmp images and set in the respective cyan, megenta, yellow. and black parameters