摘要: 原文链接:http://www.jb51.net/article/7006.htm今天仔细研究了下GD的一些相关技术,顺手也研究下GD中文乱码的问题。使用GD库输出中文字符串,调用imagestring是没有用的。需要使用imagettftext()函数。imagettftext函数的具体使用就参考手册啦。下面给个使用实例:$pic=imagecreate(250,30); $black=imagecolorallocate($pic,0,0,0); $white=imagecolorallocate($pic,255,255,255); $font="C://WINDOWS//Fo 阅读全文
posted @ 2013-05-02 13:05 回首郑板桥 阅读(386) 评论(0) 推荐(0) 编辑