位置: 编程技术 - 正文

PHP:imagecharup()的用法_GD库图像处理函数(php中imagestring)

编辑:rootadmin
imagecharup

推荐整理分享PHP:imagecharup()的用法_GD库图像处理函数(php中imagestring),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:php中imagestring,php中imagecreatefromjpeg,php image,php imagettftext,php imagettftext,php imagettftext,php imagettftext,php image,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4, PHP 5)

imagecharup — 垂直地画一个字符

说明 bool imagecharup ( resource $image , int $font , int $x , int $y , string $c , int $color ) PHP:imagecharup()的用法_GD库图像处理函数(php中imagestring)

imagecharup() 将字符 c 垂直地画在 image 指定的图像上,位于 x,y(图像左上角为 0, 0),颜色为 color。如果 font 为 1,2,3,4 或 5,则使用内置的字体。

Example #1 imagecharup() 例子

<?php$im=imagecreate(,);$string='NotethatthefirstletterisaN';$bg=imagecolorallocate($im,,,);$black=imagecolorallocate($im,0,0,0);//printsablack"Z"onawhitebackgroundimagecharup($im,3,,,$string,$black);header('Content-type:image/png');imagepng($im);?>

参见 imagechar() 和 imageloadfont()。

PHP:imageantialias()的用法_GD库图像处理函数 imageantialias(PHP4=4.3.2,PHP5)imageantialias是否使用抗锯齿(antialias)功能说明boolimageantialias(resource$image,bool$enabled)对线段和多边形启用快速画图抗锯齿方法。不

PHP:imagealphablending()的用法_GD库图像处理函数 imagealphablending(PHP4=4.0.6,PHP5)imagealphablending设定图像的混色模式说明boolimagealphablending(resource$image,bool$blendmode)imagealphablending()允许在真彩色图像上使用两种

PHP:getimagesize()的用法_GD库图像处理函数 getimagesize(PHP4,PHP5)getimagesize取得图像大小说明arraygetimagesize(string$filename[,array&$imageinfo])getimagesize()函数将测定任何GIF,JPG,PNG,SWF,SWC,PSD,TIFF,BMP,IFF

本文链接地址:https://www.jiuchutong.com/biancheng/288389.html 转载请保留说明!

上一篇:PHP:imagearc()的用法_GD库图像处理函数(php imagecopy)

下一篇:PHP:imageantialias()的用法_GD库图像处理函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络