Re: checking the aspect ratio of an images
| From: | Crayon Shin Chan | Date: | Fri, 08 Jun 2007 20:55:38 +0000 |
| Subject: | Re: checking the aspect ratio of an images | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256392@lists.php.net to get a copy of this message | ||
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.
--
Crayon