GD库的函数 1,imagecreatetruecolor —–创建一个真彩色的图像 imagecreatetruecolor(int x_size,int y_size) //x表示宽,y表示高 2,imagecolorallocate 为一幅图像分配颜色(调色板) imagecolorallocate(resource image,int red,int green,int blue)//red,green,blue—-三原色 3,imagestring 绘图函数 iamgestring(r