Finds the matching side when an image or video is resized with its proportions kept. The original width and height are reduced to their simplest ratio, so you can see whether it is 16:9, 4:3 or something else.