#51128 [Fbk->Opn]: imagefill() doesn't work with large images
| From: | admin-team at suresupport dot com | Date: | Wed, 24 Feb 2010 15:51:20 +0000 |
| Subject: | #51128 [Fbk->Opn]: imagefill() doesn't work with large images | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-148029@lists.php.net to get a copy of this message | ||
ID: 51128
User updated by: admin-team at suresupport dot com
Reported By: admin-team at suresupport dot com
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: Linux Debian 64bit
PHP Version: 5.2.12
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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/?id=51128&edit=1