> Hey all, > > How do you reduse an image while keeping the same aspect ratio so not to > distort the image > > Thanks
Original image: x - 800 y - 600 New size: x1 -100 y1 - ? y1 = 600*100/800 = 75 formula is: y1 = y*x1/x the same if you want to find x1 when know y1. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php