Save/restore of camera parameters.
Added image caputuring function.