Bug #51498 [Com]: imagefilledellipse does not work for large circles
| From: | matthew at dps dot uk dot com | Date: | Fri, 10 Jun 2011 20:48:52 +0000 |
| Subject: | Bug #51498 [Com]: imagefilledellipse does not work for large circles | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161288@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51498&edit=1
ID: 51498
Comment by: matthew at dps dot uk dot com
Reported by: thomas dot sahlin at invented dot se
Summary: imagefilledellipse does not work for large circles
Status: Open
Type: Bug
Package: GD related
Operating System: Ubuntu
PHP Version: 5.2.13
Block user comment: N
Private report: N
New Comment:
Same issues with imagearc
Previous Comments:
------------------------------------------------------------------------
[2010-04-07 17:02:48] thomas dot sahlin at invented dot se
Description:
------------
When drawing really large circles (diameter >= 2100) using imagefilledellipse, the circles get
distorted.
Test script:
---------------
$img = imagecreatetruecolor(2200, 2200);
$white = imagecolorallocate($img, 255, 255, 255);
imagefilledellipse($img, 1100, 1100, 2200, 2200, $white);
imagepng($img, '/tmp/test.png');
imagedestroy($img);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51498&edit=1