This method splits a 32 bit RGBA image into a 24 bit RGB image and a 8 bit alpha channel.

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

Parameters

None

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The SplitRGBAImage method splits a 32 bit RGBA image into a 24 bit RGB image and a 8 bit alpha channel. To execute the SplitRGBAImage method, set the image handle of the 32-bit RGBA image in the Image property or the Layer(LayerNumber).Image property.

If successful the resulting RGB 24-bit image data is set in the LayerNumber property (the Image property or the Layer(LayerNumber).Image property) and the alpha channel 8-bit grayscale image is set in the DesinationMask property.

See Also

ImageKit.Effect Members | Newtone.ImageKit.Win.ImageKit

The ImageKit.NET2 is created by Newtone Corporation