Following nafraf's suggestion regarding resolution, I looked for set_prop information here:
http://chdk.wikia.com/wiki/UBASIC/propertyCaseUse
This text seemed relevant:
24 Image resolution: 0, 1, 2, 4, 8 for L, M1, M2, S, W (these are S3
designations: L is full resolution, M1 and M2 are progressively lower
resolutions, S is 640x480, and W is a “wide screen†format: full
resolution width, but less than full resolution height).
I tried the following session:
/usr/src/chdkptp/chdkptp -i -c
connected: Canon PowerShot
SX120 IS, max packet size 512
con> rec
con 1> lua set_prop(24,4)
con 2> rs /var/www/test19
con 5> lua set_prop(24,5)
con 6> rs /var/www/test20
con 9> lua set_prop(24,0)
con 10> rs /var/www/test21
con 13> q
bye
I thought this would set higher or lower resolution on my
SX120IS, but test19.jpg, test20.jpg, and test21.jpg all were 1600x1200, in accordance with the
M3 setting on the camera.
Is the form of my "lua set_prop(24,4) command correct, and if so, what do I need to do to get the settings to take? (NOTE: (24,5) looks wrong--valid settings are single-bit--0,1,2,4,8.)