Rumah  >  Artikel  >  pembangunan bahagian belakang  >  PHP图形处理函数总结概览_PHP教程

PHP图形处理函数总结概览_PHP教程

WBOY
WBOYasal
2016-07-15 13:33:29947semak imbas

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图形处理函数的所有种类。


www.bkjia.comtruehttp://www.bkjia.com/PHPjc/446062.htmlTechArticlegetimagesize: 取得图片的长宽。 imagearc: 画弧线。 imagechar: 写出横向字符。 imagecharup: 写出直式字符。 imagecolorallocate: 匹配颜色。 imagecolortran...
Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn