位置: 编程技术 - 正文

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)

  • 税务师考试各科老师推荐
  • 计提增值税的会计凭证
  • 赞助支出和广告支出的区别
  • 税务局的信用等级是多少
  • 自主研发全流程
  • 房地产企业施工电费会计分录
  • 企业预缴的增值税税率
  • 进项税加计扣除什么时候开始的
  • 企业所得税准予扣除
  • 企业所得税的常设机构
  • 工业企业会计怎么结转成本
  • 公司卖房产怎么缴税
  • 年度利润总额的12%
  • 事业单位公务卡制度
  • 分公司开票总公司收款行吗
  • 国家级企业孵化器是什么意思
  • 怎么做销售二手车
  • 开普票时开票码怎么开
  • 超市积分礼品
  • 差旅费应交税费会计科目
  • 资产负债表日后事项是什么意思?
  • 企业购买设备可以税前扣除吗
  • 苹果系统怎么修改开机密码
  • 外账的结转成本是什么
  • 未开发的土地被司法查封,自然资源局可以收回吗
  • 调整上月费用科目
  • 苹果系统中怎么删除软件
  • 个人补缴的养老全部划入个人账户
  • 计算机指令用来做什么
  • 荣耀畅玩7怎么截长图
  • 纳税人解除劳动合同证明
  • 个体户变更为有限公司成立时间
  • 新税法减免项目
  • 计提城建税是在当月提吗
  • 法人跟纳税人必须是一个人吗
  • 什么叫点云数据
  • 可以抵扣土地增值税的项目
  • 人力资源公司如何找客户
  • 物流公司可以作为货物收货人吗
  • 织梦如何使用
  • 实际发生坏账损失不影响应收账款
  • 金融债券利息收入免企业所得税吗
  • 应收款为负数怎么理解这个概念
  • mysql数据控制语句
  • 营业税金及附加计入什么科目
  • 当月业务的发票可以次月开吗
  • 付给对方钱对方应该怎么写
  • 企业以现金形式发工资
  • 企业股权转让收入企业所得税
  • 劳务报酬所得是否含增值税
  • 当月红冲上月开具的增值税
  • 受疫情影响较大的上市公司有哪些
  • 低值易耗品属于资产类账户吗
  • 咨询服务业成本比例
  • 销售商品返现怎么做
  • 租赁办公楼
  • 财政专用存款账户
  • 应收账款的政策
  • win7怎么打开后缀
  • windows 10 build 9888
  • linux系统垃圾怎么清理
  • linux vps 教程
  • 怎么从win8装回win7
  • VS2013 OpenGL MFC 编程问题
  • java如何自定义函数
  • js 图片加载
  • angular nz
  • nodejs调用npm命令
  • cmd命令行
  • unity uma
  • javascript高级程序设计pdf下载
  • jquery1.8
  • js拖拽效果
  • jquery获取浏览器宽度
  • 安卓的生命周期方法
  • 河南省国税电子普通发票发票真伪查询系统
  • 广东交通定额发票在哪开
  • 2023年内蒙古房贷利率最新消息
  • 企业所得税按开票金额的多少计算税率
  • 上海市松江区房价?
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设