|
- Pattern and PHP
- Drawing in Browser code
dModifyHSL (Function) In french: dModifieTSL
// Changes the hue, the lightness and the saturation // of the image found in the IMG_Image1 control dModifyHSL(IMG_Image1, 50, 50, 50)
Syntax
<Result> = dModifyHSL(<Source image> , <Variation of hue> , <Variation of saturation> , <Variation of lightness> [, <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.
- the name of an Image variable.
 This type of variable is not available.
<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. <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. <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>: 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.
- the name of an Image variable.
 This type of variable is not available.
If this parameter is not specified, the transformation will be performed on the <Source image>. Remarks Versions 16 and later New in version 16
Related Examples:
|
Unit examples (WINDEV): Modifying the Hue, Saturation and Lightness
[ + ] Process on the images via the WLanguage dModifyHSL function. This function is used to modify the hue, the saturation and the lightness of an image.
|
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |