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



On Sat, 2007-06-09 at 04:55 +0800, Crayon Shin Chan wrote:
On Saturday 09 June 2007 02:21, Robert Cummings wrote:

As for how this affects the aspect ratio of an image... it doesn't
really, but the person who said that "You can't really be 'approximate'
when coding" didn't exactly confine it to the question about aspect
ratio and an image.

Taking that statement literally, it apparent that code has to be precise.
You cannot have "sort of a while loop here" and "kind of an if statement
there" :)

So whilst the algorithm that you use may rely on imprecise (fuzzy) values,
the way you code that algorithm has to be precise. I think that about
sums it up.

Thanks for repeating what I already said.

Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
.


Loading