#21766 [NEW]: Make optional parameters for imagecopy
| From: | tuxedobob at mac dot com | Date: | Mon, 20 Jan 2003 09:14:50 +0000 |
| Subject: | #21766 [NEW]: Make optional parameters for imagecopy | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30633@lists.php.net to get a copy of this message | ||
From: tuxedobob@mac.com
Operating system: Mac OS X 10.2.3
PHP version: 4.3.0
PHP Bug Type: Feature/Change Request
Bug description: Make optional parameters for imagecopy
Please make the source height and width optional in the imagecopy function.
It could be handled as such:
If the images are the same size, copy the entire image. (Useful for
applying an overlay with transparency.)
If the images are different sizes, copy from/to the image with the smaller
dimension, for each dimension.
(Actually, I guess the last 6 parameters could be optional, with zeros
being the default for the middle four.)
--
Edit bug report at http://bugs.php.net/?id=21766&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21766&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21766&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21766&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21766&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21766&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21766&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21766&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21766&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21766&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21766&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21766&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21766&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21766&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21766&r=gnused