Edit report at http://bugs.php.net/bug.php?id=51128&edit=1
ID: 51128 User updated by: admin-team at suresupport dot com Reported by: admin-team at suresupport dot com Summary: imagefill() doesn't work with large images -Status: Feedback +Status: Open Type: Bug Package: GD related Operating System: Linux Debian 64bit PHP Version: 5.2.12 New Comment: Hello, this is the info regarding the GD configuration for both servers: ------------------------------------ Debian Server 64bit: GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled ------------------------------------ RedHat Server 32bit: GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.1.3 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Previous Comments: ------------------------------------------------------------------------ [2010-03-01 21:42:06] paj...@php.net -Status: Open +Status: Feedback ------------------------------------------------------------------------ [2010-03-01 21:42:06] paj...@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] paj...@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