If we want to resize a $1024 \times 768$ pixels image to one that is $640$ pixels wide with the same aspect ratio, what would be the height of the resized image?
Aspect Ratio = Width/Height
So, for same aspect ratio,
$1024/768 = 640/h$
$h = (768 * 480) / 1024 = 480$
here, h is the required height
64.3k questions
77.9k answers
244k comments
80.0k users