//发送头文件
header("content-type: image/png");
//创建真彩色图像
$im=imagecreatetruecolor(100,50);
//定义黑色
$black=imagecolorallocate($im,0,0,0);
//定义白色
$white=imagecolorallocate($im,255,255,255);
//画一矩形并填充
imagefilledrectangle($im,0,0,99,49, $white);
//定义字体
imagestring($im,2,0,0,"hello",$black);
//输出图像
imagepng($im);
/*
执行该代码将生成一幅png图像,并在图像上显示hello。
语法: int imagefilledrectangle(int im, int x1, int y1, int x2, int y2, int col);
返回值: 整数
函数种类: 图形处理
内容说明
本函数将图片的封闭长方形区域着色。参数 x1、y1 及 x2、y2 分别为矩形对角线的坐标。参数 col 表示欲涂上的颜色。
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享