#36050 [Opn->Csd]: imagecolorallocatealpha returns false
| From: | pajoye@php.net | Date: | Wed, 04 Mar 2009 10:46:48 +0000 |
| Subject: | #36050 [Opn->Csd]: imagecolorallocatealpha returns false | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134395@lists.php.net to get a copy of this message | ||
ID: 36050
Updated by: pajoye@php.net
Reported By: phpbug at phpandmore dot com
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: Windows NT LAPTOP 5.1 build 2600
PHP Version: 5.1.2
Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2009-03-04 10:29:55] pajoye@php.net
This bug has been fixed in CVS.
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.
------------------------------------------------------------------------
[2006-01-25 01:00:06] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-01-17 16:24:28] pajoye@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Fixed in cvs.
You can now use ($trans === FALSE)
Note the "===" usage, zero being a perfectly valid color index, you
have to check for both the type and the value (bool and false).
------------------------------------------------------------------------
[2006-01-17 16:11:38] pajoye@php.net
Something is wrong, not in GD but in the casting ops.
------------------------------------------------------------------------
[2006-01-17 15:52:05] sniper@php.net
RTFM: $image=imagecreatetruecolor...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/36050
--
Edit this bug report at http://bugs.php.net/?id=36050&edit=1