ID:               42685
 Updated by:       [EMAIL PROTECTED]
 Reported By:      chinhnt2k3 at yahoo dot com
 Status:           Assigned
 Bug Type:         GD related
 Operating System: Mandriva Linux, Windows XP
 PHP Version:      5.2.4
 Assigned To:      pierre
 New Comment:

The same effect occurs for the imageellipse(), I belive this bug is in
libgd


Previous Comments:
------------------------------------------------------------------------

[2007-09-17 04:41:13] chinhnt2k3 at yahoo dot com

Description:
------------
imagefilledellipse() produces an ellipse with a different size if the
size is even.

Reproduce code:
---------------
<?php

$image = imagecreatetruecolor(200, 200);
$color = imagecolorallocate($image, 255, 255, 255);
imagefilledellipse($image, 100, 100, 26, 26, $color);
header("Content-type: image/png");
imagepng($image);

?>

Expected result:
----------------
An ellipse with the size of 26.

Actual result:
--------------
An ellipse with the size of 27.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42685&edit=1

Reply via email to