Bug #53757 [NEW]: can't change the background
| From: | mesmsgs at gmail dot com | Date: | Sat, 15 Jan 2011 15:05:45 +0000 |
| Subject: | Bug #53757 [NEW]: can't change the background | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10419@lists.php.net to get a copy of this message | ||
From:
Operating system: Windows 7
PHP version: 5.2.17
Package: Website problem
Bug Type: Bug
Bug description:can't change the background
Description:
------------
---
From manual page: http://www.php.net/function.imagefilledellipse#Exemples
---
I can't change the background color
Test script:
---------------
<?php
// create a blank image
$image = imagecreatetruecolor(400, 300);
// fill the background color
$bg = imagecolorallocate($image, 255, 255, 255);
// choose a color for the ellipse
$col_ellipse = imagecolorallocate($image, 0, 0, 0);
// draw the white ellipse
imagefilledellipse($image, 200, 150, 300, 200, $col_ellipse);
// output the picture
header("Content-type: image/png");
imagepng($image);
?>
Expected result:
----------------
The background color must be white
Actual result:
--------------
Only black background
--
Edit bug report at http://bugs.php.net/bug.php?id=53757&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53757&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53757&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53757&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53757&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53757&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53757&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53757&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53757&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53757&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53757&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53757&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53757&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53757&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53757&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53757&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53757&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53757&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53757&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53757&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53757&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53757&r=mysqlcfg