![](https://cdn.warriorforum.com/images/placeholder_avatar.gif?256F)
Keeping image ratio's
Let's say I wanted to give an image a width of 300pixels, but keep the proportionate height.
I've looked at sample scripts but they all go into way too much detail, and I can't really be bothered sifting through all of the code just to see where the calculation comes in!
Read Warrior Forums?
Warrior Forum Reader for Androidâ„¢ FREE