Click or drag to resize
Ab4d.SharpEngine logo

RawImageDataCheckTransparencyAndConvertToPremultipliedAlpha Method

CheckTransparencyAndConvertToPremultipliedAlpha method converts the colors by multiplying the red, green and blue values by alpha value. This produces the pre-multiplied colors. The method also checks the data of the image for transparent pixels and returns true in case any transparent pixel is find. It also sets the HasTransparency property.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool CheckTransparencyAndConvertToPremultipliedAlpha()

Return Value

Boolean
true in case any transparent pixel is find in the image data
See Also