ID:               42522
 User updated by:  jeffiel at 9star dot com
 Reported By:      jeffiel at 9star dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         GD related
 Operating System: FC 2
 PHP Version:      5.2.4
 Assigned To:      pajoye
 New Comment:

As noted, the bundled version.  Here's my configure line:

'./configure'  '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-
mysql=/usr/local/mysql-standard-5.0.19-linux-i686-glibc23' '--
with-gd' '--with-png-dir=/usr/local/lib' '--with-jpeg-
dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-zlib-
dir=/usr/local/lib' '--enable-simplexml' '--with-xsl=/usr/local/lib' 
'--with-ldap=/usr/local/openldap' '--with-ldap-sasl' '--with-
openssl=/usr/local/ssl' '--with-gettext=/usr/local' '--with-
mcrypt=/usr/local' '--with-mime-magic' '--enable-bcmath' '--with-
oci8=/opt/oracle/product/9.2.0/' '--with-curl=/usr'


The problem is not consistent, but happens about 90% of the time.  I 
don't see any pattern to it.

My current workaround is using imagefilledrectangle instead, which 
works reliably.


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

[2007-09-03 05:27:32] [EMAIL PROTECTED]

I can't reproduce this problem. Do you use the bundled version or an
external library? If you use an external library, which version? (you
can see it in your phpinfo or using gdlib-config --version).

To configure php to use the bundled gd version, use "./configure
--with-gd ..." (without argument).

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

[2007-09-02 21:48:47] jeffiel at 9star dot com

Description:
------------
Just upgraded to 5.2.4, and GD image functions, particularly imagefill,

is not reliable.  Sometimes it works, sometimes it fails silently.  
Using [GD Version] => bundled (2.0.34 compatible).  Seems similar to
bug 
#36683, which was marked as bogus for unspecified reasons.

Reproduce code:
---------------
$im = imagecreatetruecolor(625, 26);
imagefill($im, 0, 0, imagecolorallocate($im, 255, 0, 0));
header("Content-type: image/png");
imagepng($im);



Expected result:
----------------
A red png, 625 x 26

Actual result:
--------------
A black png, 625 x 26


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


-- 
Edit this bug report at http://bugs.php.net/?id=42522&edit=1

Reply via email to