ID: 27766 Updated by: [EMAIL PROTECTED] Reported By: mussulma at uiuc dot edu -Status: Duplicate +Status: Bogus Bug Type: GD related Operating System: RedHat Linux PHP Version: 5.0.0RC1 New Comment:
We don't use the "duplicate" status anymore; instead we mark them as "bogus" as it was already in the database. Previous Comments: ------------------------------------------------------------------------ [2004-03-29 19:20:57] mussulma at uiuc dot edu Oops. Appears to be a duplicate of 25678. ------------------------------------------------------------------------ [2004-03-29 19:16:59] mussulma at uiuc dot edu Description: ------------ imageellipse() does not seem to acknowledge anything is set in imagesetthickness() even though the manual page for imagesetthickness states it works for ellipses. If I change the function to imagerectangle() it works fine. Reproduce code: --------------- <?php $image = imagecreate(400,300); imagesetthickness($image, 10); $bg = imagecolorallocate($image, 0, 0, 0); $col_ellipse = imagecolorallocate($image, 255,0,255); imageellipse($image, 200, 150, 200, 200, $col_ellipse); //imagerectangle($image, 50, 50, 100, 100, $col_ellipse); header("Content-type: image/png"); imagepng($image); imagedestroy($image); ?> Expected result: ---------------- I expect to see a 10 pixel wide circle, but it's only one pixel wide. If I comment out the ellipse line and uncomment the rectangle, I see a 10 pixel thick rectangle. Actual result: -------------- The imageellipse line only produces a 1-pixel wide ellipse, but the imagerectangle produces a 10-pixel wide rectangle. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27766&edit=1