php生成白色背景图片

$image = imagecreatetruecolor($imgWidth, $imgHeight);
$white = imagecolorallocate($image, 255, 255, 255);
imagefill($image, 0, 0, $white);
posted @ 2012-09-25 17:03  firesnow  阅读(4731)  评论(0编辑  收藏  举报