#20816 [Opn->Fbk]: register_global and scoping vars
| From: | iliaa@php.net | Date: | Wed, 04 Dec 2002 21:26:37 +0000 |
| Subject: | #20816 [Opn->Fbk]: register_global and scoping vars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26655@lists.php.net to get a copy of this message | ||
ID: 20816
Updated by: iliaa@php.net
-Summary: imagecopyresampled turn white into yellow
-Reported By: bill@softky.com
+Reported By: somekool@mytradecenter.com
-Status: Open
+Status: Feedback
Bug Type: GD related
-Operating System: WinXP
+Operating System: Slackware Linux
-PHP Version: 4CVS-2002-12-04 (dev)
+PHP Version: 4.2.2
New Comment:
Could you please show the complete script and if possible the source
image you are using. So far, I was able to replicate the problem if I
created the destination image using imagecreatetruecolor(). However, if
I use imagecreate() it works correctly.
Previous Comments:
------------------------------------------------------------------------
[2002-12-04 13:24:58] bill@softky.com
The function imagecopyresampled() takes a white area (255,255,255) and
turns it yellow (255,255,2). This does not happen with
imagecopyresize(). I think the problem is in the GD library, because
the problem disappears when I use the php_gd2.dll from PHP4.2.3
instead of the one that came bundled with 4.4.0-dev.
What phpinfo() says:
"4.4.0-dev" (both broken and working cases)
"GD 2.0 (bundled)" BROKEN case
"GD 2.0 or higher" WORKING case
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20816&edit=1