capture image from camera and save to disk