位置: 编程技术 - 正文

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

编辑:rootadmin
imageflip

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

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

(PHP 5 >= 5.5.0)

imageflip — Flips an image using a given mode

说明 bool imageflip ( resource $image , int $mode )

Flips the image image using the given mode.

参数

image

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

mode

Flip mode, this can be one of the IMG_FLIP_* constants:

Constant Meaning IMG_FLIP_HORIZONTAL Flips the image horizontally. IMG_FLIP_VERTICAL Flips the image vertically. IMG_FLIP_BOTH Flips the image both horizontally and vertically.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE。

范例 PHP:imageflip()的用法_GD库图像处理函数(php imagefill)

Example #1 Flips an image vertically

This example uses the IMG_FLIP_VERTICAL constant.

<?php//File$filename='phplogo.png';//Contenttypeheader('Content-type:image/png');//Load$im=imagecreatefrompng($filename);//Flipitverticallyimageflip($im,IMG_FLIP_VERTICAL);//Outputimagejpeg($im);imagedestroy($im);?>

以上例程的输出类似于:

Example #2 Flips the image horizontally

This example uses the IMG_FLIP_HORIZONTAL constant.

<?php//File$filename='phplogo.png';//Contenttypeheader('Content-type:image/png');//Load$im=imagecreatefrompng($filename);//Flipithorizontallyimageflip($im,IMG_FLIP_HORIZONTAL);//Outputimagejpeg($im);imagedestroy($im);?>

以上例程的输出类似于:

注释

Note: 此函数仅在与 GD 库捆绑编译的 PHP 版本中可用。

PHP:imagefilter()的用法_GD库图像处理函数 imagefilter(PHP5)imagefilter对图像使用过滤器说明boolimagefilter(resource$src_im,int$filtertype[,int$arg1[,int$arg2[,int$arg3]]])imagefilter()把过滤器filtertype应用到图像上,在需

PHP:imagefilledrectangle()的用法_GD库图像处理函数 imagefilledrectangle(PHP4,PHP5)imagefilledrectangle画一矩形并填充说明boolimagefilledrectangle(resource$image,int$x1,int$y1,int$x2,int$y2,int$color)imagefilledrectangle()在image图像中画

PHP:imagefilltoborder()的用法_GD库图像处理函数 imagefilltoborder(PHP4,PHP5)imagefilltoborder区域填充到指定颜色的边界为止说明boolimagefilltoborder(resource$image,int$x,int$y,int$border,int$color)imagefilltoborder()从x,y(图像

标签: php imagefill

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

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

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

  • 股票印花税如何计算
  • 什么是宏观税负如何判定一国宏观税负的轻重
  • 税务师继续教育怎么做
  • 企业税前扣除凭证包括增值税发票吗
  • 一般纳税人开普票多少个点
  • 独立核算的分公司
  • 营业外收入汇算清缴需要调整吗
  • 金税三期电子发票怎么领取
  • 小规模纳税人不开票收入怎么报税
  • 季度企业所得税可以不预缴吗
  • 金税盘开具发票 在增值税申报表哪填写
  • 股票印花税最新政策2023怎么算
  • 企业销售赠券的增值税如何处理
  • 装修未付款的会计分录
  • 已认证发票退回的会计分录
  • 写字楼出租可以给租户注册吗
  • 投资收益账户月末结转余额吗?
  • 增值税专用发票的税率是多少啊
  • 个人抬头的通讯费可以做费用吗
  • 取得增值税专用发票是否可以抵扣
  • 全额抵扣有哪些
  • 工地人为受伤一般怎么解决
  • 机票上的exemptcny这个是什么意思?
  • 递延所得税资产是什么
  • 跨年度残保金退税怎么算
  • Linux系统怎么调整屏幕亮度
  • mac host is down
  • 无偿取得固定资产算不算收入
  • 电脑每次开机都要选择系统怎么办
  • 魁北克位置地图
  • 赠送积分怎么确认收入
  • exe是什么进程
  • 企业所得税的销售收入包括哪些
  • 大堡礁的现状
  • 基于改进yolov4论文
  • 免税是政府补助吗
  • 增值税抄税报税流程
  • 四舍五入的弊端
  • 织梦怎么样
  • 外贸出口企业的税务风险
  • 分公司需要做纳税申报吗
  • 公司车辆退保进哪个科目
  • file file=new file()的作用
  • System.Data.SQLite 数据库详细介绍
  • 关联企业无息借款如何征税?
  • 现金股利和现金利润的区别
  • 汇兑损益的种类
  • 房地产开发企业土地出让金扣除政策
  • 多计提的增值税怎么冲减
  • 什么叫金税四期呢?
  • 政府扶持资金使用要求
  • 企业所得税的计提
  • 个体的个人所得税怎么交税?
  • 统一机构信用代码最后一位校验码
  • 合同印花税怎么做会计分录
  • 物流公司挂靠会计处理?
  • 所得税汇算清缴需要调增的项目
  • 信用卡产生滞纳金
  • 工地上报销项目有哪些
  • 质量赔款能冲减收入么
  • 案例分析购入办法怎么写
  • 免抵退税中免抵税额怎么算
  • sqlserver查询语句大全讲解
  • centosyum源
  • win8怎么运行
  • window10总更新是怎么回事
  • Windows Server 2008禁止模块安装提升网络性能
  • linux文件详解
  • ubuntu wine安装的软件怎么运行
  • centos安装图形oracle11g
  • centos划分分区
  • linux阅读器
  • 复制打开网页
  • Linux Mount NTFS分区造成的权限问题如何解决?
  • pcc是什么文件
  • Unity for Absolute Beginners(三)
  • Rotate object with mouse click or touch in Unity3D
  • jquery.treegrid
  • android开发的难点
  • 宁波国家税务局电子税务局
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设