Re[2]: [PHP] checking the aspect ratio of an images

From: Date: Fri, 08 Jun 2007 17:17:15 +0000
Subject: Re[2]: [PHP] checking the aspect ratio of an images
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-256373@lists.php.net to get a copy of this message
Hi Crayon, Friday, June 8, 2007, 6:08:30 PM, you wrote: > On Friday 08 June 2007 22:17, tedd wrote: >> >> Wednesday, June 6, 2007, 11:41:19 AM, you wrote: >> >> > I want to force users to insert landscape rather portrait images. >> >> > I don't want to be too pedantic about it but they do need to have >> >> > an >> >> >> >>approximate 4x3 >> >> >> >> > aspect ratio. >> > > >> > > You can't really be 'approximate' when coding. >> > >> >You certainly can be "approximate" when coding. It's called heuristics >> >and it's an absolute necessity in many areas of software development. >> Absolutely, and what about fuzzy logic -- that method is based upon >> "approximate" calculations. > But somewhere in the guts of the approximate calculations there are > _precisely_ defined limits. Anyhow, please illustrate how you would use > approximate calculations in determining or defining the aspect ratio of > an image. This I'd love to see. Don't hold your breath for a decent code based response though. Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk "Never trust a computer you can't throw out of a window"

« previous php.general (#256373) next »