Code: Select all
<?php
$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");
?>Is there some reason the imagefill wouldn't work on images larger than 181x181?
Can anyone shed some light on this?