 |
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.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic bool CheckTransparencyAndConvertToPremultipliedAlpha()
Return Value
Booleantrue in case any transparent pixel is find in the image data
See Also