|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-10-19 18:11 UTC] bjoneson at mchsi dot com
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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jan 02 18:00:01 2026 UTC |
Do not use external gd ("--with-gd" not "--with-gd=/usr" Set it as bogus, obvioulsy wrong lib/broken install. --Pierre