Re: Tweak to the Image_Transform API
| From: | Pierre-Alain Joye | Date: | Sat, 07 Sep 2002 12:44:46 +0000 |
| Subject: | Re: Tweak to the Image_Transform API | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8918@lists.php.net to get a copy of this message | ||
On Sat, 7 Sep 2002 07:42:23 -0500 (CDT)
Brent Cook <busterb@mail.utexas.edu> wrote:
> Hi all,
>
> I noticed that the parameter list for save() and display() are backwards
> from each other. Can we reorder them so that they're easier to remember?
>
> Instead of:
>
> function save($filename, $quality = 75, $type = '')
> function display($type = '', $quality = 75)
>
> use:
>
> function save($filename, $type = '', $quality = 75)
> function display($type = '', $quality = 75)
Go for it (btw, in all drivers :-) ).
thanks a lot for your tests !! :-)
pa