#21766 [Opn]: Make optional parameters for imagecopy

From: Date: Mon, 20 Jan 2003 09:33:45 +0000
Subject: #21766 [Opn]: Make optional parameters for imagecopy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30634@lists.php.net to get a copy of this message
ID: 21766 User updated by: tuxedobob@mac.com Reported By: tuxedobob@mac.com Status: Open Bug Type: Feature/Change Request -Operating System: Mac OS X 10.2.3 +Operating System: All PHP Version: 4.3.0 New Comment: 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.) Previous Comments: ------------------------------------------------------------------------ [2003-01-20 03:14:50] tuxedobob@mac.com 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 this bug report at http://bugs.php.net/?id=21766&edit=1

« previous php.bugs (#30634) next »