There is a bug if zoom is used from script - focus data is not updated in EXIF.
Consider following script:
--[[
@title ZOOM MIN MAX
]]
function fastshoot()
press("shoot_half")
repeat
sleep(1)
until get_shooting() == true
press("shoot_full")
release("shoot_full")
release("shoot_half")
repeat
sleep(1)
until get_shooting() ~= true
end
set_zoom(0)
sleep(1000)
--first shoot
fastshoot()
set_zoom(get_zoom_steps()-1)
sleep(1000)
--second shoot
fastshoot()
--195 is prop for sx200is zoom position
set_prop(195,get_zoom_steps()-1)
sleep(1000)
--third shoot
fastshoot()
Second shoot has the same FocalLength EXIF data as first shoot, despite camera has maximal zoom.
Third shot will have correct FocalLength data.
Solution for this bug is updating of OpticalZoom propcase in lens_set_zoom_point (platform/generic/wrappers.c)
Included patch has PROPCASE_OPTICAL_ZOOM_POSITION added to propset2.h and propset1.h(untested).
Tested on sx200is.
Do other cams have the same problem?