Req #21766 [Opn->Fbk]: Make optional parameters for imagecopy

From: Date: Wed, 16 Apr 2014 16:27:37 +0000
Subject: Req #21766 [Opn->Fbk]: Make optional parameters for imagecopy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185271@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=21766&edit=1 ID: 21766 Updated by: levim@php.net Reported by: tuxedobob at mac dot com Summary: Make optional parameters for imagecopy -Status: Open +Status: Feedback Type: Feature/Change Request -Package: Feature/Change Request +Package: GD related Operating System: All PHP Version: 4.3.0 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2003-01-20 03:33:45] tuxedobob at mac dot 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.) ------------------------------------------------------------------------ [2003-01-20 03:14:50] tuxedobob at mac dot 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 https://bugs.php.net/bug.php?id=21766&edit=1

« previous php.bugs (#185271) next »