|
|
|
|
|
- Drawing in PHP
- Drawing in Browser code
dModifyLightness (Function) In french: dModifieLuminosité Changes the lightness of an image found: - in an Image control,
- in a variable of type Image.
This type of variable is not available.
// Change the lightness of the image found in IMG_Image1 dModifyLightness(IMG_Image1, 50)
Syntax
<Result> = dModifyLightness(<Source image> , <Variation of lightness> [, <Destination image>])
<Result>: Boolean - True if the change was performed,
- False otherwise.
<Source image>: Name of the Image control or variable Image to use. The image can correspond to: - the name of an Image control.
- the name of a variable of type Image.
This type of variable is not available.
<Variation of lightness>: Integer Value between -100 and +100. This value will be added to the current lightness of each pixel to get a new lightness. <Destination image>: Optional control name or optional 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.
This type of variable is not available.
If this parameter is not specified, the transformation will be performed on the <Source image>.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|