Flash-Related Commands; Image-Related Commands - Canon Camera Hackers Manual

Camera hackers manual berthold daum
Table of Contents

Advertisement

set_zoom_rel d
set_zoom_rel(d)
Sets increments or decrements of the current zoom step.
set_zoom_speed s
set_zoom_speed(s)
Sets the zoom speed between 5 and 100 percent. This does nothing for A-series
cameras.

5.5.5 Flash-related commands

f = get_flash_mode
f = get_flash_mode()
Returns the flash mode: 0 = auto, 1 = on, 2 = off.
r = get_flash_ready
r = get_flash_ready()
Indicates that the flash is ready with a value of 1/true.

5.5.6 Image-related commands

get_quality q
q = get_quality()
Retrieves and sets the current image quality setting (0 = Superfine, 1 = Fine,
2 = Normal).
get_resolution q
q = get_resolution()
Retrieves and sets the current image resolution (0 = L, 1 = M1, 2 = M2, 3 = M3, 4 = S,
5 = RAW (on G9), 6 = Postcard, 8 = W).
o = get_orientation_sensor
o = get_orientation_sensor()
Returns the camera orientation (portrait, landscape) in degrees.
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
5.5 CHDK commands
121

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powershot sx10 is

Table of Contents