PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 found:
  • in an Image control,
  • Versions 17 and later
    WINDEVWindowsLinuxUser code (UMC) in an Image variable.
    New in version 17
    WINDEVWindowsLinuxUser code (UMC) in an Image variable.
    WINDEVWindowsLinuxUser code (UMC) in an Image variable.
    in an Image variable.
Versions 17 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WEBDEV sites in Linux.
Universal Windows 10 App This function is now available for Windows Phone applications.
Linux Caution: A specific configuration is required to use this function in Linux. See The drawings for more details.
New in version 17
WINDEVLinux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WEBDEV sites in Linux.
Universal Windows 10 App This function is now available for Windows Phone applications.
Linux Caution: A specific configuration is required to use this function in Linux. See The drawings for more details.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WEBDEV sites in Linux.
Universal Windows 10 App This function is now available for Windows Phone applications.
Linux Caution: A specific configuration is required to use this function in Linux. See The drawings for more details.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Changes the saturation of the image found in the IMG_Image1 control
dModifyLightness(IMG_Image1, 50)
Syntax
<Result> = dModifySaturation(<Source image> , <Variation of saturation> [, <Destination image>])
<Result>: Boolean
  • True if the change was performed,
  • False otherwise.
<Source image>: Character string (with or without quotes) or Image variable
Image to use. This image can correspond to:
  • the name of an Image control.
  • Versions 17 and later
    WINDEVWindowsLinuxUser code (UMC) the name of an Image variable.
    New in version 17
    WINDEVWindowsLinuxUser code (UMC) the name of an Image variable.
    WINDEVWindowsLinuxUser code (UMC) the name of an Image variable.
    the name of a Image variable.
<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>: Optional character string (with or without quotes) or Image variable
Image where the transformed image will be drawn. This image can correspond to:
  • the name of an Image control.
  • Versions 17 and later
    WINDEVWindowsLinuxUser code (UMC) the name of an Image variable.
    New in version 17
    WINDEVWindowsLinuxUser code (UMC) the name of an Image variable.
    WINDEVWindowsLinuxUser code (UMC) the name of an Image variable.
    the name of an Image variable.
If this parameter is not specified, the transformation will be performed on the <Source image>.
Remarks
Component : wd250pnt.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment