|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-07-30 22:06 UTC] cmb@php.net
-Status: Open
+Status: Duplicate
-Assigned To:
+Assigned To: cmb
[2021-07-30 22:06 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 17:00:02 2025 UTC |
Description: ------------ When the size of ellipse is larger than about 2200px, imagefilledellipse() will start to draw a strange shape. It seems that the problem only happens to "PHP for Windows", because the script works well on my Ubuntu Server. [PHP Version] PHP 8.0 (8.0.9) for Windows - VS16 x64 Non Thread Safe (2021-Jul-29 14:38:16) Test script: --------------- $w = 3000; $h = 3000; $im = imagecreatetruecolor($w, $h); $color = imagecolorallocate($im, 0, 124, 255); imagefilledellipse($im, $w / 2, $h / 2, $w, $h, $color); header('content-type: image/png'); imagepng($im); Expected result: ---------------- imagefilledellipse() can draw an ellipse while the size is large. Actual result: -------------- imagefilledellipse() draws a strange shape.