用PHP代码在网页上生成图片

taiwancmh 10 0 PDF 2020-12-23 03:12:56

代码很简单,这里就不多废话了, <?php /** * Created by PhpStorm. * User: Administrator * Date: 2015/6/29 * Time: 21:25 */ header('Content-type:image/png');//设置mime type $img = imagecreate(400,300);//设置图片像素 imagecolorallocate($img,255,255,255);//给图片上色 imageellipse($img,200,200,50,50,imagecolorallocate($img

用户评论
请输入评论内容
评分:
暂无评论