php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51793 Add alpha argument to imagecolorset
Submitted: 2010-05-11 16:01 UTC Modified: 2010-06-20 16:55 UTC
From: Anders dot Nilsson at noaa dot gov Assigned: pajoye (profile)
Status: Closed Package: GD related
PHP Version: 5.3.2 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Anders dot Nilsson at noaa dot gov
New email:
PHP Version: OS:

 

 [2010-05-11 16:01 UTC] 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 ] )


Patches

imagecolorset-alpha (last revision 2010-05-18 08:44 UTC by kalle@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-18 10:44 UTC] 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-18 10:45 UTC] kalle@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: pajoye
 [2010-05-18 10:45 UTC] kalle@php.net
Pierre, can you please review my patch and if needed approve it for trunk?
 [2010-05-18 14:38 UTC] 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-06-20 16:55 UTC] pajoye@php.net
-Status: Assigned +Status: Closed
 [2010-06-20 16:55 UTC] pajoye@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC