EasyManua.ls Logo

Canon Camera - Image Management Commands

Canon Camera
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.5 CHDK commands 123
playsound s uBasic
playsound(s) Lua
Plays a sound signal. The variable s specifies the signal to be played: 0 = power on,
1 = shutter, 2 = click, 3 = timer, 4 = short, 5 = AF, 6 = error, 7 = long.
Currently, there is no way to play a voice note.
set_backlight b uBasic
set_backlight(b) Lua
Switches the display backlight on or off: 0 = off, 1 = on
set_led a,b,c uBasic
set_led(a,b,c) Lua
Switches the LED on or off. Parameter a identifies the LED: 4 = green, 5 = yellow,
6 = power (not for all cameras), 7 = orange, 8 = blue, 9 = AF light, 10 = timer. Parame-
ter b sets the state: 0 = off, 1 = on. The optional parameter c controls the brightness
(0–200). This works only for the blue LED and not for all cameras.
5.5.9 Image management commands
r = get_raw_nr uBasic
r = get_raw_nr() Lua
set_raw_nr r uBasic
set_raw_nr(r) Lua
Retrieves and sets noise reduction for RAW images ( Dark Frame Subtraction): 0 = auto,
1 = off, 2 = on.
r = get_raw uBasic
r = get_raw() Lua
set_raw r uBasic
set_raw(r) Lua
Retrieves and sets the state of the RAW output function: 0 = off, 1 = on.
s = get_disk_size uBasic
s = get_disk_size() Lua
Returns the size of the memory card in kilobytes.
s = get_free_disk_space uBasic
s = get_free_disk_space() Lua
Returns the free space of the memory card in kilobytes.
c = get_exp_count uBasic
c = get_exp_count() Lua
Returns the number of images taken since the camera was switched on.

Table of Contents

Related product manuals