If I have a video of size:
width: 640
height: 480
and a screen of size:
width: 1280
height: 720
what is the equation to find the max width and height I can stretch the video too and keep its ratio.
I can calculate the ratio like:
ratio = width / height
video ratio: 1.3
screen ratio: 1.7
that's about as far as I can work out :-(