位置: 编程技术 - 正文

PHP:imagescale()的用法_GD库图像处理函数

编辑:rootadmin
imagescale

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

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

(PHP 5 >= 5.5.0)

imagescale — Scale an image using the given new width and height

说明 resource imagescale ( resource $image , int $new_width [, int $new_height = -1 [, int $mode = IMG_BILINEAR_FIXED ]] )

Warning

本函数还未编写文档,仅有参数列表。

参数imagePHP:imagescale()的用法_GD库图像处理函数

由图象创建函数(例如imagecreatetruecolor())返回的图象资源。

new_width

new_height

mode

One of IMG_NEAREST_NEIGHBOUR, IMG_BILINEAR_FIXED, IMG_BICUBIC, IMG_BICUBIC_FIXED or anything else (will use two pass).

返回值

Return scaled image resource on success 或者在失败时返回 FALSE.

PHP:imagesetbrush()的用法_GD库图像处理函数 imagesetbrush(PHP5=5.5.0)imagesetbrush设定画线用的画笔图像说明boolimagesetbrush(resource$image,resource$brush)当用特殊的颜色IMG_COLOR_BRUSHED或IMG_COLOR_STYLEDBRUSHED绘画时,im

PHP:imagesavealpha()的用法_GD库图像处理函数 imagesavealpha(PHP4=4.3.2,PHP5)imagesavealpha设置标记以在保存PNG图像时保存完整的alpha通道信息(与单一透明色相反)说明boolimagesavealpha(resource$image,bool$saveflag)ima

PHP:imagerectangle()的用法_GD库图像处理函数 imagerectangle(PHP4,PHP5)imagerectangle画一个矩形说明boolimagerectangle(resource$image,int$x1,int$y1,int$x2,int$y2,int$col)imagerectangle()用col颜色在image图像中画一个矩形,其左

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

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

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

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

鄂ICP备2023003026号

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

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