CHANGES THE GAMMA OF THE SYSTEM OBJECT NUMBER N (PICTURE)
ACTION
The command GAMMA N,V changes the brightness of the system object, designated by its number N. The system object is a PICTURE.
Every time The command is executed:
- if V=0, the picture remains unchanged,
- if V<0, its gamma decreases,
- if V>0, its gamma increases.
Remark : V must be between -128 and 127.
SYNTAX:
GAMMA N,V
USE ERROR EXAMPLE
rem create an object PICTURE
picture 1
rem load a picture
file_load 1,"my_picture.bmp"
rem increase its gamma
gamma 1,10
GAMMA
GAMMA N,V
SEE ALSO
PICTURE
CONTRAST
BRIGHTNESS