Applies the alpha value of each pixel to its color components.
The aplha value stays unchanged.
Only works with 32-bits color depth.
Namespace:
FreeImageAPI
Assembly:
FreeImageNET (in FreeImageNET.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function PreMultiplyWithAlpha ( _
dib As FIBITMAP _
) As Boolean |
Visual C++ |
---|
public:
static bool PreMultiplyWithAlpha(
FIBITMAP dib
) |
Return Value
Returns true on success, false on failure.
Version Information
FreeImage.NET
Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1
See Also