PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
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 saturation of an image in an Image variable.
Example
MyImage is Image = "Test.gif"
// Changes the saturation of the image found in the IMG_Image1 control
MyImage.ModifySaturation(50)
 
Syntax
<Result> = <Image variable>.ModifySaturation(<Variation of saturation> [, <Destination image>])
<Result>: Boolean
  • True if the change was performed,
  • False otherwise.
<Image variable>: Image variable
Name of Image variable to use.
<Variation of saturation>: Integer
Value included between -100 and +100. This value will be added to the current saturation of each pixel to get a new saturation.
<Destination image>: Name of the Image control or variable
Image where the transformed image will be drawn. This image can correspond to:
  • the name of an Image control.
  • Versions 17 and later
    WINDEVWEBDEV - Server codeWINDEV MobileReports and QueriesWindowsLinuxiPhone/iPadUser code (UMC) the name of a Image variable.
    New in version 17
    WINDEVWEBDEV - Server codeWINDEV MobileReports and QueriesWindowsLinuxiPhone/iPadUser code (UMC) the name of a Image variable.
    WINDEVWEBDEV - Server codeWINDEV MobileReports and QueriesWindowsLinuxiPhone/iPadUser code (UMC) the name of a Image variable.
    the name of an Image variable.
If this parameter is not specified, the transformation will be performed on the <Source image>.
Component : wd240pnt.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment