CHANGES THE CONTRAST OF THE SYSTEM OBJECT NUMBER N (PICTURE)
ACTION
The command CONTRAST N,V changes the contrast 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 contrast decreases,
- if V>0, its contrast increases.
Remark : V must be between -128 and 127.
SYNTAX:
CONTRAST 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 contrast
contrast 1,10
CONTRAST
CONTRAST N,V
SEE ALSO
PICTURE
BRIGHTNESS
GAMMA