图像函数验证码.docVIP

  • 5
  • 0
  • 约5.01千字
  • 约 7页
  • 2017-03-26 发布于江苏
  • 举报
图像函数验证码

图像函数 imagecreatetruecolor 新建一个真彩色图像 imagecreatetruecolor ( int x_size, int y_size ) // x就是宽 ,y就是高 imagecolorallocate 为一幅图像分配颜色(调色板) imagecolorallocate ( resource image, int red, int green, int blue ) imagestring 绘图函数 imagestring ( resource image, font, int x, int y, 内容 , 颜色 ) imageline 画线函数 imageline ( resource image, int x1, int y1, int x2, int y2, int color ) imagesetpixel 画点函数 imagesetpixel ( resource image, int x, int y, int color ) imagettftext函数调用字体写入文字 imagettftext ( resource image, float size, float angle, int x, int y, int color, string fontfile, string text ) iconv(gb2312,UTF-8,

文档评论(0)

1亿VIP精品文档

相关文档