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

From: Date: Wed, 16 Apr 2014 20:51:08 +0000
Subject: Req #21766 [Fbk->Nab]: Make optional parameters for imagecopy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185304@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: pajoye@php.net Reported by: tuxedobob at mac dot com Summary: Make optional parameters for imagecopy -Status: Feedback +Status: Not a bug Type: Feature/Change Request Package: GD related Operating System: All PHP Version: 4.3.0 Block user comment: N Private report: N New Comment: You can specify source width and height and at which position you like to copy, see the imagecopy manual. 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 (#185304) next »