Compute proportional dimensions for images and video
Enter any three values; the fourth will be calculated