#30483 [Opn->Fbk]: imagefill() not working on images larger than 181x181

From: Date: Tue, 19 Oct 2004 16:37:35 +0000
Subject: #30483 [Opn->Fbk]: imagefill() not working on images larger than 181x181
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67781@lists.php.net to get a copy of this message
ID: 30483 Updated by: derick@php.net Reported By: bjoneson at mchsi dot com -Status: Open +Status: Feedback Bug Type: GD related Operating System: Fedora Core 2 PHP Version: 5.0.2 New Comment: What is your configure line? Previous Comments: ------------------------------------------------------------------------ [2004-10-19 18:11:53] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30483&edit=1

« previous php.bugs (#67781) next »