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 SourceImage property.

If successful the resulting RGB 24-bit image data is set in the DestinationImage property and the alpha channel 8-bit grayscale image is set in the DestinationMask property.

See Also

Effect Class | Effect Members

The ImageKit.NET3 is created by Newtone Corporation