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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux