Previous Up Next

_GETalphaBitmapTransparency
Separates an AlphaBitmap into a RGB bitmap and a 'transparency layer' (opposite of _CRalphaBitmap).

[ObjBitmap ObjBitmap8] _GETalphaBitmapTransparency (
AlphaBitmap _object_
)
Parameters

_object_
the relevant AlphaBitmap
Return value

A pair (bitmapRGB, bitmapAlpha) which corresponds to the components of the object..
Remark

The ObjBitmap and ObjBitmap8 obtained are not copies, and must not be discarded since this will cause the AlphaBitmap to be discarded.
It is thus possible to work directly within the two ObjBitmap, and any modifications made to them are passed on to the AlphaBitmap.
See Also

AlphaBitmap, _GETalphaBitmapSize, _GETalphaBitmapBackground, _GETalphaBitmapTransparency.