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

C#
public bool PreMultiplyWithAlpha()
Visual Basic (Declaration)
Public Function PreMultiplyWithAlpha As Boolean
Visual C++
public:
bool PreMultiplyWithAlpha()

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