您好,登录后才能下订单哦!
这篇文章给大家介绍PHP中如何使用图形处理函数,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。
getimagesize: 取得图片的长宽。 
imagearc: 画弧线。 
imagechar: 写出横向字符。 
imagecharup: 写出直式字符。 
imagecolorallocate: 匹配颜色。 
imagecolortransparent: 指定透明背景色。 
imagecopyresized: 复制新图并调整大小。 
imagecreate: 建立新图。 
imagedashedline: 绘虚线。 
imagedestroy: 结束图形。 
imagefill: 图形着色。 
imagefilledpolygon: 多边形区域着色。 
imagefilledrectangle: 矩形区域着色。 
imagefilltoborder: 指定颜色区域内着色。 
imagefontheight: 取得字型的高度。 
imagefontwidth:这个PHP图形处理函数 取得字型的宽度。 
imageinterlace: 使用交错式显示与否。 
imageline: 绘实线。 
imageloadfont: 载入点阵字型。 
imagepolygon: 绘多边形。 
imagerectangle: 绘矩形。 
imagesetpixel: 绘点。 
imagestring: 绘横式字符串。 
imagestringup: 绘直式字符串。 
imagesx: 取得图片的宽度。 
imagesy: 取得图片的高度。 
imagettfbbox: 计算 ttf 文字所占区域。 
imagettftext: 写 ttf 文字到图中。 
imagecolorat: 该PHP图形处理函数取得图中指定点颜色的索引值。 
imagecolorclosest: 计算色表中与指定颜色最接近者。 
imagecolorexact: 计算色表上指定颜色索引值。 
imagecolorresolve: 计算色表上指定或最接近颜色的索引值。 
imagecolorset: 配置色表上指定索引的颜色。 
imagecolorsforindex: 取得色表上指定索引的颜色。 
imagecolorstotal: 计算图的颜色数。 
imagepsloadfont: 载入 postscript 字型。 
imagepsfreefont: 卸下 postscript 字型。 
imagepsencodefont: postscript 字型转成向量字。 
imagepstext: 写 postscript 文字到图中。 
imagepsbbox: 计算 postscript 文字所占区域。 
imagecreatefrompng: 取出 png 图型。 
imagepng: 建立 png 图型。 
imagecreatefromgif: 取出 gif 图型。 
imagegif: 建立 gif 图型。
关于PHP中如何使用图形处理函数就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。