Calculate aspect ratios and resize images while maintaining proportions.
Calculate and resize aspect ratios
Aspect ratio is the proportional relationship between width and height, expressed as width:height (e.g., 16:9).
16:9 is the standard widescreen aspect ratio used for HD video, TVs, and computer monitors.