位置: - 正文

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

编辑:rootadmin
imagewbmp

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

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

(PHP 4 >= 4.0.1, PHP 5)

imagewbmp — 以 WBMP 格式将图像输出到浏览器或文件

说明 bool imagewbmp ( resource $image [, string $filename [, int $foreground ]] )

imagewbmp() 从 image 图像创建一个名为 filename 的 WBMP 文件。image 参数是 imagecreatetruecolor() 的返回值。

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

filename 参数是可选项,如果省略,则直接将原图像流输出。通过用 header() 发送 image/vnd.wap.wbmp 的 Content-type,可以创建直接输出 WBMP 图像的 PHP 脚本。

Note:

WBMP 支持仅能用于 PHP 编译时加入了 GD-1.8 或更高版本时。

用可选的 foreground 参数可以设定前景色,用 imagecolorallocate() 函数返回的颜色标识符。默认前景色是黑色。

参见 image2wbmp(),imagepng(),imagegif(),imagejpeg() 和 imagetypes()。

PHP:imagewebp()的用法_GD库图像处理函数 imagewebp(PHP5=5.5.0)imagewebp将WebP格式的图像输出到浏览器或文件说明boolimagewebp(resource$image,string$filename)将image参数指定的图像以WebP格式输出到浏览器或者保

PHP:imagetypes()的用法_GD库图像处理函数 imagetypes(PHP4=4.0.2,PHP5)imagetypes返回当前PHP版本所支持的图像类型说明intimagetypes(void)本函数以比特字段方式返回与当前PHP版本关联的GD库所支持的图像格式

PHP:imagestring()的用法_GD库图像处理函数 imagestring(PHP4,PHP5)imagestring水平地画一行字符串说明boolimagestring(resource$image,int$font,int$x,int$y,string$s,int$col)imagestring()用col颜色将字符串s画到image所代表的图

本文链接地址:https://www.jiuchutong.com/biancheng/284739.html 转载请保留说明!
下一篇链接:https://www.jiuchutong.com/biancheng/284740.html
免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

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