From: bjoneson at mchsi dot com Operating system: Fedora Core 2 PHP version: 5.0.2 PHP Bug Type: GD related Bug description: imagefill() not working on images larger than 181x181
Description: ------------ When I utilize imagecreatetruecolor to create an image larger than 181x181 pixels, the imagefill() has no effect (I'm left with an all black image). Anything smaller than 182x182 and it works just fine. Reproduce code: --------------- $img_big = imagecreatetruecolor(182, 182); $brown=imagecolorallocate($img_big, 0xFF, 0xEF, 0xD8); imagefill($img_big, 0, 0, $brown); imagepng($img_big, "/usr/local/apache2/htdocs/cart/images/999999-1-big.png"); Expected result: ---------------- I would expect to see a 182x182 png filled with a tanish color (#FFEFD8) located in the file 999999-1-big.png Actual result: -------------- I get a 182x182 png filled with black. -- Edit bug report at http://bugs.php.net/?id=30483&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30483&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30483&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30483&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30483&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30483&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30483&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30483&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30483&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30483&r=support Expected behavior: http://bugs.php.net/fix.php?id=30483&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30483&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30483&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30483&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30483&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30483&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30483&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30483&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30483&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30483&r=mysqlcfg