From: [EMAIL PROTECTED] 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