Add an option to save captured images to the disk as JPEG.