#20816 [NEW]: imagecopyresampled turn white into yellow
| From: | bill at softky dot com | Date: | Wed, 04 Dec 2002 19:24:58 +0000 |
| Subject: | #20816 [NEW]: imagecopyresampled turn white into yellow | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-26649@lists.php.net to get a copy of this message | ||
From: bill@softky.com
Operating system: WinXP
PHP version: 4CVS-2002-12-04 (dev)
PHP Bug Type: GD related
Bug description: imagecopyresampled turn white into yellow
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 bug report at http://bugs.php.net/?id=20816&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20816&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20816&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20816&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20816&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20816&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20816&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20816&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20816&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20816&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20816&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20816&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20816&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20816&r=isapi