From: mussulma at uiuc dot edu Operating system: RedHat Linux PHP version: 5.0.0RC1 PHP Bug Type: GD related Bug description: imageellipse does not honor imagesetthickness
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 bug report at http://bugs.php.net/?id=27766&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27766&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27766&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27766&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27766&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27766&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27766&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27766&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27766&r=support Expected behavior: http://bugs.php.net/fix.php?id=27766&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27766&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27766&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27766&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27766&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27766&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27766&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27766&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27766&r=float