PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Modifies the opacity of an image (which means the alpha layer of the image).
Example
MyImage is Image = "c:\test.png"
// Reduces the opacity by 50%
dModifyOpacity(MyImage, 50)
dSaveImagePNG(MyImage, "c:\test2.png")
Syntax
dModifyOpacity(<Image> , <Factor>)
<Image>: Image variable
Name of Image variable to use.
<Factor>: Real
Factor for modifying the opacity, included between 0.0 and 100.0. This factor will be applied to the alpha layer of the image.
Remarks
This function can only be used with the images containing an alpha layer (32 bpp).
Components
WINDEVReports and Queries wd230pnt.dll
Linux wd230pnt.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment