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

« Nested Loops?? || Windows file management... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home