|
|
|
|
<Image variable>.ModifyLightness (Function) In french: <Variable Image>.ModifieLuminosité Modifies the lightness of an image in a variable of type Image. MyImage is Image = "Test.gif" // Changes the lightness of the image contained in the variable of type Image MyImage.ModifyLightness(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. 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 <Image variable>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|