5.5 CHDK commands 121set_zoom_rel d uBasicset_zoom_rel(d) LuaSets increments or decrements of the current zoom step.set_zoom_speed s uBasicset_zoom_speed(s) LuaSets the zoom speed between 5 and 100 percent. This does nothing for A-seriescameras.5.5.5 Flash-related commandsf = get_flash_mode uBasicf = get_flash_mode() LuaReturns the flash mode: 0 = auto, 1 = on, 2 = off.r = get_flash_ready uBasicr = get_flash_ready() LuaIndicates that the flash is ready with a value of 1/true.5.5.6 Image-related commandsget_quality q uBasicq = get_quality() LuaRetrieves and sets the current image quality setting (0 = Superfine, 1 = Fine,2 = Normal).get_resolution q uBasicq = get_resolution() LuaRetrieves 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 uBasico = get_orientation_sensor() LuaReturns the camera orientation (portrait, landscape) in degrees.