Zoom Bracketing Take a set of images at different zoom positions.

Introduction

The purpose is to create a set of images taken at different zoom positions. The script takes a number of images starting from the current zoom position. So if you take 3 pictures, with Zoom Step Size 1, the script will take the first picture at the current zoom position, the second at zoom position +1, and the third at zoom position +3 relative to the start zoom position. A positive Zoom Step Size will zoom in, a negative Zoom Step Size will zoom out. Afterwards the initial zoom position will be restored.

Written for: Canon A640
Also works on: Other Canon AXXX (Not tested), Canon A590 tested


Parameters (Save as "ZoomBracket.txt" file to your /CHDK/SCRIPTS/ folder)

Select any mode on your Canon A640 that allows zooming.

  • Number of Pics (Default=2)
  • Zoom Step Size(+/-) (Default=1)
  • Initial Delay (Sec) (Default=1)

Script Code (save as "ZoomBracket.bas" to your /CHDK/SCRIPTS/ folder)

rem Johan Van Barel 07-07-2007
rem Zoom-Bracketing for Canon A640

@title Zoom Bracket
@param a Number of Pics
@default a 2
@param b Zoom Step Size(+/-)
@default b 1
@param c Initial Delay (Sec)
@default c 1

if a<2 then let a=2
if b=0 then let b=1
if c<0 then let c=0

print "Pics:"; a, "Step:"; b

get_zoom z

sleep c*1000

print "Pic 1 of", a
shoot

for s=2 to a
    set_zoom_rel b
    sleep 500
    print "Pic", s, "of", a
    shoot
next s

sleep 500
set_zoom z

end

Download and Installation

This script is freeware. Before you can install it, you need to download and install the CHDK Firmware Extension for your specific Canon camera. CHDK is freeware and can be downloaded for a broad range of Canon PowerShot and Digital Ixus cameras here. If you own a Canon A640, you can download a specific build here, which already contains all the CHDK scripts from this site, including the one mentioned above. Copy all the files in this archive to the root of your SD card. If you have problems installing CHDK, please refer to the CHDK Wiki Pages.


Disclaimer

This software and the accompanying files are supplied "as is", without any express or implied warranty. In no event shall the author be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages from the use of this software. By using this software you agree with these conditions.

Copyright © 2007 by Johan Van Barel. All Rights Reserved