gd library
Date: 12/23/06
(PHP Community) Keywords: php
Howdy..
I want to find out the dimensions of an image, in pixels, if scaled proportionatly.. so for example the max image size is 800x600 and I have an image which is say 100x300 and another which is 900x400..
so when scaled proportionatly how would I find the bigest size image I can fit in the max size?
I have php + gd, no imagemagik and I dont need to display the image, just calculate it's size... can anyone point me in the right direction?
Source: http://community.livejournal.com/php/525499.html