Tweak to the Image_Transform API
| From: | Brent Cook | Date: | Sat, 07 Sep 2002 12:42:23 +0000 |
| Subject: | Tweak to the Image_Transform API | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8917@lists.php.net to get a copy of this message | ||
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)
- Brent