Hi, is there a way to get the ratio of an image?