EasyManua.ls Logo

Canon Camera - Camera State

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...
124 CHAPTER 5 Scripting
c = get_jpg_count uBasic
c = get_jpg_count() Lua
Estimates the number of JPG images that still can be stored on the memory card.
c = get_raw_count uBasic
c = get_raw_count() Lua
Estimates the number of RAW images that still can be stored on the memory card.
set_raw_develop("filename") (Lua only)
Develops the specified RAW file into JPEG on the next shot (section 4.5.5). If the pa-
rameter is omitted or nil, the pending development task is canceled. Development
will be performed under the camera settings at the time of development.
set_curve_state(n) (Lua only)
Sets the development curve state for post-processing (section 4.3.8): 0 = None,
1 = Custom, 2 = +1EV, 3 = +2EV, 4 = AutoDR.
raw_merge_start(operation) (Lua only)
Starts a merging process for RAW files (section 4.5.6). Operation: 0 = sum, 1 = average.
The following raw_merge_add() commands will contribute to the result.
raw_merge_add("filename") (Lua only)
Adds a single picture to a merged RAW image. Typically, this technique is used to re-
duce noise by averaging multiple shots (section 4.5.6).
raw_merge_end() (LUA only)
Completes the merge operation.
5.5.10 Camera state
x = get_platform_id uBasic
x = get_platform_id() Lua
Returns a numeric value identifying the camera model.
b = get_buildinfo() (Lua only)
Returns a table with information about the CHDK build. Table fields can be addressed
with the following keys: platform, platsub, version, build_number, build_date,
build_time.
x = autostarted uBasic
x = autostarted() Lua
Assigns a value of 1 resp. true to variable x if the script was started using the Auto-
start function (section 5.1).

Table of Contents

Related product manuals