#21762 [Fbk]: imagefilledellipse, imagefilledarc crash
| From: | sniper@php.net | Date: | Mon, 20 Jan 2003 23:03:17 +0000 |
| Subject: | #21762 [Fbk]: imagefilledellipse, imagefilledarc crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30731@lists.php.net to get a copy of this message | ||
ID: 21762
Updated by: sniper@php.net
Reported By: helak@hotmail.com
Status: Feedback
Bug Type: GD related
Operating System: Windows 2000
PHP Version: 4.3.0
New Comment:
First of all, PLEASE don't use the 'Add Comment' page when
you add comments to your own report!!
Second, what do you mean with 'crash' ?
Previous Comments:
------------------------------------------------------------------------
[2003-01-20 11:19:43] helak@hotmail.com
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
------------------------------------------------------------------------
[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