|
|
|
|
|
- Drawing in PHP
- Drawing in Browser code
<Image>.ModifyLightness (Function) In french: <Image>.ModifieLuminosité Modifies the lightness of an image contained in an Image control. // Change the lightness of the image found in IMG_Image1 IMG_Image1.ModifyLightness(50)
Syntax
<Result> = <Image control>.ModifyLightness(<Variation of lightness> [, <Destination image>])
<Result>: Boolean - True if the change was performed,
- False otherwise.
<Image control>: Control name Name of the Image control to be used. <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 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.
This type of variable is not available.
If this parameter is not specified, the transformation will be performed in <Image control>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|