PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Changes the brightness of an image contained in an Variable of type Image.
Versions 16 and later
Android This function is now available for Android applications.
New in version 16
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 17 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
iPhone/iPad This function is now available for iPhone/iPad applications.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The drawings.
New in version 17
WINDEVLinux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
iPhone/iPad This function is now available for iPhone/iPad applications.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The drawings.
WINDEVLinux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
iPhone/iPad This function is now available for iPhone/iPad applications.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The drawings.
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
MonImage est une Image = "Test.gif"
// Change la luminosité de l'image contenue dans le champ IMG_Image1
MonImage.ModifieLuminosité(50)
Syntax
<Result> = <Image variable>.ModifyLightness(<Variation of lightness> [, <Destination image>])
<Result>: Boolean
  • True if the change was performed,
  • False otherwise.
<Image variable>: Image variable
Name of the Image variable to be used.
<Variation of lightness>: Integer
Value included between -100 and +100. This value will be added to the current lightness of each pixel to get a new lightness.
<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.
  • the name of a variable of type Image.
If this parameter is not specified, the transformation will be performed on <Image variable>
Component: wd270pnt.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment