This method creates a single raster image from seperate bmp images representing each of the RGB planes

[Visual Basic]
Public Function CombineRgbImage(red As Image, green As Image, blue As Image, destinationImage As Image) As Boolean
[C#]
public bool CombineRgbImage(Image red, Image green, Image blue, ref Image destinationImage) ;

Parameters

red
     The 8 bit grayscale image representing the R plane

green
     The 8 bit grayscale image representing the G plane

blue
     The 8 bit grayscale image representing the B plane

destinationImage
     The 24 bit color raster image created from the combination of the above R, G, and B plane images

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The CombineRgbImage method creates a single raster image from seperate bmp images representing each of the RGB planes. The various images representing each of the RGB planes are 8 bit grayscale. If successful, the resulting image created by combining these R, G, and B plane images is a 24 bit color raster image and is set in the destinationImage parameter.

See Also

Effect Class | Effect Members

The ImageKit.NET3 is created by Newtone Corporation