This method creates a single raster image from seperate bmp images representing each of the CMYK planes
Public Function CombineCmykImage(cyan As System.Drawing.Image, magenta As System.Drawing.Image, yellow As System.Drawing.Image, black As System.Drawing.Image, destinationImage As System.Drawing.Image) As Boolean
public bool CombineCmykImage(System.Drawing.Image cyan, System.Drawing.Image magenta, System.Drawing.Image yellow, System.Drawing.Image black, ref System.Drawing.Image destinationImage) ;
Parameters
cyan
The 8 bit grayscale image
representing the C plane
magenta
The 8 bit grayscale image
representing the M plane
yellow
The 8 bit grayscale image
representing the Y plane
black
The 8 bit grayscale image
representing the K plane
destinationImage
The 24 bit color raster image created
from the combination of the above C, M, Y, and K plane images
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
The CombineCmykImage method creates a single raster image from seperate bmp images representing each of the CMYK planes. The various images representing each of the CMYK planes are 8 bit grayscale. If successful, the resulting image created by combining these C, M, Y, and K plane images is a 24 bit color raster image and is set in the destinationImage parameter.