Find new dimensions based on ratio.
Calculate the dimensions of an image or video based on a specific ratio (e.g., 16:9, 4:3). Useful for video editors, filmmakers, and web designers who need to resize content without losing the correct proportions.