Req #51793 [Asn->Csd]: Add alpha argument to imagecolorset
Edit report at http://bugs.php.net/bug.php?id=51793&edit=1
ID: 51793
Updated by: pajoye@php.net
Reported by: Anders dot Nilsson at noaa dot gov
Summary: Add alpha argument to imagecolorset
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: GD related
Operating System: linux
PHP Version: 5.3.2
Assigned To: pajoye
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2010-05-18 14:38:59] pajoye@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=299451
Log: - #51793, Add alpha argument to imagecolorset
------------------------------------------------------------------------
[2010-05-18 10:45:23] kalle@php.net
Pierre, can you please review my patch and if needed approve it for
trunk?
------------------------------------------------------------------------
[2010-05-18 10:44:37] kalle@php.net
The following patch has been added/updated:
Patch Name: imagecolorset-alpha
Revision: 1274172277
URL:
http://bugs.php.net/patch-display.php?bug=51793&patch=imagecolorset-alpha&revision=1274172277
------------------------------------------------------------------------
[2010-05-11 16:01:23] Anders dot Nilsson at noaa dot gov
Description:
------------
Imagecolorset currently has no argument to set the alpha color component
in an indexed color image. This capability would be very useful.
(Especially when dealing with functions that use antialiasing but don't
handle alpha transparency well).
Change to:
void imagecolorset ( resource $image, int $index, int $red, int $green,
int $blue [, int $alpha ] )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51793&edit=1
Thread (4 messages)