From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.3.0
PHP Bug Type:     GD related
Bug description:  imagefilledellipse, imagefilledarc crash

I installed Apache 1.3.27 (windows binary, module) + PHP 4.3 (latest
version, download, windows binary) on Windows 2000. Following script using
GD library works, but enabling imagefilledellipse line causes script to
crash. There is similar effect when using imagefilledarc.
Imagefilledrectangle works fine.

<?php

header ("Content-type: image/png");

$im = @imagecreate (200, 200) or die ("Cannot Initialize new GD image
stream");
$white = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im,   0,   0,   0);

//  imagefilledellipse($im,100,100,50,50,$black);
  imageellipse($im,100,100,50,50,$black);
  
imagepng ($im);
imagedestroy($im);

?>

Thank you for looking into it,

ZB

-- 
Edit bug report at http://bugs.php.net/?id=21762&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21762&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21762&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21762&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21762&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21762&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21762&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21762&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21762&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21762&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21762&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21762&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21762&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21762&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21762&r=gnused

Reply via email to