This method creates a 32-bit RGBA image from an image and an alpha channel.

[Visual Basic] Public Function CombineRGBAImage As Boolean
[C#] public bool CombineRGBAImage();

Parameters

None

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The CombineRGBAImage method creates a 32-bit RGBA image from an image and an alpha channel. To execute the CombineRGBAImage method, set the image handle of the image in the Image property or the Layer(LayerNumber).Image property (1, 4, 8, 16, 24, or 32 bit image) and set the alpha channel image handle into the SourceMask property (1 bit color or 8 bit grayscale image).

If the PasteImage method is successful and the DestinationAsImageKitImage property is True, the resulting RGBA 32-bit image will be set in the Image property or in the Layer(LayerNumber).Image property, according to the value set in the LayerNumber property.

If the PasteImage method is successful and the DestinationAsImageKitImage property is False, the resulting RGBA 32-bit image will be set in the DestinationImage property.

See Also

ImageKit.Effect Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation