#21762 [Com]: imagefilledellipse, imagefilledarc crash

From: Date: Mon, 20 Jan 2003 17:19:43 +0000
Subject: #21762 [Com]: imagefilledellipse, imagefilledarc crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30689@lists.php.net to get a copy of this message
ID: 21762 Comment by: helak@hotmail.com Reported By: helak@hotmail.com Status: Feedback Bug Type: GD related Operating System: Windows 2000 PHP Version: 4.3.0 New Comment: I tested: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip It still behaves the same way. Either I am doing something wrong or there is indeed a bug, ZB Previous Comments: ------------------------------------------------------------------------ [2003-01-20 01:41:36] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-01-20 01:27:59] helak@hotmail.com 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 this bug report at http://bugs.php.net/?id=21762&edit=1

« previous php.bugs (#30689) next »