php生成白色背景图片
$image = imagecreatetruecolor($imgWidth, $imgHeight); $white = imagecolorallocate($image, 255, 255, 255); imagefill($image, 0, 0, $white);
$image = imagecreatetruecolor($imgWidth, $imgHeight); $white = imagecolorallocate($image, 255, 255, 255); imagefill($image, 0, 0, $white);