#21762 [Opn->Fbk]: imagefilledellipse, imagefilledarc crash

From: Date: Mon, 20 Jan 2003 07:41:37 +0000
Subject: #21762 [Opn->Fbk]: imagefilledellipse, imagefilledarc crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30625@lists.php.net to get a copy of this message
 ID:               21762
 Updated by:       sniper@php.net
 Reported By:      helak@hotmail.com
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: Windows 2000
 PHP Version:      4.3.0
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[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



Thread (9 messages)

« previous php.bugs (#30625) next »