Now it computes the focal length automatically BUT it forces to use JPG