php函数imagecreatetruecolor()问题请教?
//原代码$canvas=imagecreatetruecolor(200,200);$backgroundColor=imagecolorallocate($canva...
//原代码$canvas = imagecreatetruecolor(200,200);$backgroundColor = imagecolorallocate($canvas,255,0,0);imagefill($canvas,0,0,$backgroundColor);header('Content-Type:image/png');imagepng($canvas);imagedestroy($canvas);为什么浏览器输出没有红色区域,全屏黑屏
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询