WinXDraw_PremultiplyImage (hImage)
Prepares an image for alpha blending by premultiplying the pixels with the alpha channel
Parameter | Description |
---|---|
hImage | The handle to the image to premultiply |
$$TRUE on success or $$FALSE on fail
Once an image has been premultiplied it cannot be restored. For this reason I sugest that you copy the image first with WinXDraw_CopyImage.
'premultiply an image WinXDraw_PremultiplyImage (hImage) |
Images
WinXDrawImage
WinXDraw_CreateImage
WinXDraw_LoadImage
WinXDraw_SaveImage
WinXDraw_SetConstantAlpha
WinXDraw_CopyImage