ID:               21762
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         GD related
 Operating System: Windows 2000
 PHP Version:      4.3.0
 New Comment:

Sniper,

Sorry, I did not know how to add more comments to my own report. I hope
this time I got it right.

When I add imagefilledellipse/ imagefilledarc line script does not seem
to execute successfully. No image appears in the browser, just the
image placeholder. This line essentially kills the execution of the
entire script. PHP continues to run on the server and other/consecutive
PHP requests are not interrupted. 

Thanks again,

ZB


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

[2003-01-20 17:03:17] [EMAIL PROTECTED]

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' ?


------------------------------------------------------------------------

[2003-01-20 11:19:43] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to