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 hue of an image:
  • in an Image control,
  • in a variable of type Image.
Example
// Changes the hue of the image found in the IMG_Image1 control
dModifyHue(IMG_Image1, 50)
Syntax
<Result> = dModifyHue(<Source image> , <Variation of hue> [, <Destination image>])
<Result>: Boolean
  • True if the change was performed,
  • False otherwise.
<Source image>: Character string or Image variable
Image to use. The image can correspond to:
  • the name of an Image control.
  • the name of a variable of type Image.
<Variation of hue>: Integer
Value included between -360 and +360. This value will be added to the current hue of each pixel to get a new hue.
<Destination image>: Optional character string or Image variable
Image where the transformed image will be drawn. The 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 the <Source image>.
Remarks
Component: wd270pnt.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment