#38517 [NEW]: imagefilledarc() with alpha blending mode
| From: | wkpark at kldp dot org | Date: | Sun, 20 Aug 2006 08:46:48 +0000 |
| Subject: | #38517 [NEW]: imagefilledarc() with alpha blending mode | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100972@lists.php.net to get a copy of this message | ||
From: wkpark at kldp dot org
Operating system: Linux
PHP version: 5.1.5
PHP Bug Type: GD related
Bug description: imagefilledarc() with alpha blending mode
Description:
------------
there are already similar imagefilledellipse() bug #22103.
but it is not corrected with the imagefilledarc().
the reason why this results are obtained is same as described in #22103.
Reproduce code:
---------------
<?php
$im = imagecreatetruecolor(401, 802);
imagesavealpha($im, true);
imagealphablending($im, false);
imagefilledrectangle($im, 0, 0, 400, 801, 0x7fffffff);
imagealphablending($im, true);
imagefilledarc($im, 200, 200, 400, 400, 30, 270, 0xff0000, 0);
imagefilledarc($im, 200, 601, 400, 400, 30, 270, 0x40ff0000, 0);
imagepng($im, 'test.png');
echo
'<img src="test.png" />';
?>
and the result http://kldp.org/files/test_0.png
--
Edit bug report at http://bugs.php.net/?id=38517&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38517&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38517&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38517&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38517&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38517&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38517&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38517&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38517&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38517&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38517&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38517&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38517&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38517&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38517&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38517&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38517&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38517&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38517&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38517&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38517&r=mysqlcfg