Bug #51128 [Opn->Fbk]: imagefill() doesn't work with large images
Edit report at http://bugs.php.net/bug.php?id=51128&edit=1
ID: 51128
Updated by: pajoye@php.net
Reported by: admin-team at suresupport dot com
Summary: imagefill() doesn't work with large images
-Status: Open
+Status: Feedback
Type: Bug
Package: GD related
Operating System: Linux Debian 64bit
PHP Version: 5.2.12
New Comment:
Can you paste the GD section of phpinfo of both servers please?
Previous Comments:
------------------------------------------------------------------------
[2010-03-01 21:42:06] pajoye@php.net
Can you paste the GD section of phpinfo of both servers please?
------------------------------------------------------------------------
[2010-02-24 15:51:20] admin-team at suresupport dot com
Hello Pajoye,
Thank you for your anwser!
The code in test1.php & test2.php is taken from official documentation
of the function:
http://php.net/manual/en/function.imagefill.php
The problem described in my first post doesn't exist on another type of
server - RedHat Linux 32bit - I get 2 red rectangles.
Thank you
------------------------------------------------------------------------
[2010-02-23 21:15:55] pajoye@php.net
Please allocate a background and then a color to use for the fill.
------------------------------------------------------------------------
[2010-02-23 21:09:38] admin-team at suresupport dot com
Description:
------------
Hello,
Please check this URL:
http://imagefill.server260.com/
http://imagefill.server260.com/test1.php is
working properly when the
size of the image is 255x255 pixels and is producing a red rectangle
http://imagefill.server260.com/test2.php is
the same code with image
size of 256x256 producing a black rectangle
You should check http://imagefill.server260.com/info.php for the
PHP
options.
Reproduce code:
---------------
http://imagefill.server260.com/test1.source.txt
http://imagefill.server260.com/test2.source.txt
http://imagefill.server260.com/test.diff.txt
Expected result:
----------------
When I run http://imagefill.server260.com/test2.php I
should get a red
rectangle.
Actual result:
--------------
But I get a black rectangle.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51128&edit=1
Thread (8 messages)