Link Search Menu Expand Document

Image.ModifyBrightness Method

Explanation Change the image brightness.
However, it is invalid for the Image object obtained by the GetImage method of the ImageList class.
Added since Ver.5.0.3
Not supported in Mobile, AI
Call format img. ModifyBrightness ( brightness )
Return value None
Arguments integer brightness Specify the amount of change in brightness in the range of -255 (dark) to 255 (bright).
Exception EXT-1 Image: ModifyBrightness argument is invalid
EXT-26 Cannot be executed because the image does not exist
Example of use
    Image img;
    img.LoadImage("biz.jpg");
    img.ModifyBrightness(-100);
    
Related item