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

[C++Builder]   [ bool = ]imagekitcontrolname->Effect->MakeRGBAImage()
[Delphi]   [ Boolean = ]imagekitcontrolname.Effect.MakeRGBAImage()

Parameters

None

Return Value

Returns True if successful, otherwise returns False.

Explanation

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

If successful the resulting RGBA 32-bit image data is set in the LayerNo property (the ImageHandle property or the Layer(LayerNo).ImageHandle property. If unsuccessful, 0 is returned.

When the Caption, Message, and ButtonName properties are blank, the progress dialog box will not be displayed. When the progress dialog box is displayed, the percentage that the processing has completed will be shown in the dialog box.

The ImageKit10 VCL is a product created by Newtone Corporation