位置: 编程技术 - 正文

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)

  • 个人去税务局开劳务票 税点是多少
  • 无形资产专利技术计入什么科目
  • 公司控股另一家公司的风险
  • 母公司借款给子公司现金流量表科目
  • 销售人员购买的产品
  • 现金流量净额正负
  • 销售商品货款未收
  • 酒店应不应该为员工提供澡堂
  • 企业大股东减持股份
  • 企业融资租赁设立条件
  • 退款给客户怎么记分录
  • 公司成立初期费用入账
  • 跨年发票还可以入账吗
  • 取得拍卖的固定资产
  • 外包业务账务处理
  • 进项发票与销项发票差额是企业毛利润吗
  • 普通发票需要什么
  • 所得税汇算调增调减是什么意思
  • 企业三废处理方案
  • 企业代收代支的非税收入需要缴税吗?
  • 港杂费是由谁收取
  • 金蝶软件不审核直接过账
  • 哪里查询发票是否抵扣
  • 银行承兑汇票保证金是什么意思
  • 税务师如何办理入会
  • win11任务栏图标删除
  • 预借差旅费报销会计分录
  • 32位升级64位系统教程
  • php文件包含的4种方式
  • php常用设计模式(大总结)
  • 最贵的一个苹果多少钱
  • 股份支付费用是股权激励成本吗?
  • php session_start
  • 桑吉尔夫个人简介
  • 位于阿曼和迪拜的大学
  • 科目余额表平了但资产负债表不平
  • 正在求偶的凤头卡拉鹰,美国德克萨斯州 (© Alan Murphy/Minden Pictures)
  • 300秒带你手写一首诗
  • bounded linear functional
  • 季初从业人数和季末从业人数怎么填
  • 公司购买黄金计入什么科目
  • 还没报税就自动清卡了怎么办
  • 应交税费应交增值税的三级科目有哪些
  • 分公司税务登记流程与操作手册
  • 公司归还股东借款是否需要股东会决议
  • 小规模做账要做应交税费吗
  • 土地使用权的使用是什么意思
  • 应收应付款会计分录
  • 过路费发票抵扣政策
  • 个人银行存款要手续费吗
  • 两笔不同业务能转账吗
  • 小规模收入不超过多少不用交税
  • 费用票成本票有哪些
  • 总包分包怎么区分
  • 发票章摔坏了一个角,还能盖吗
  • 根据企业会计准则第11号规定,下列关于等待期
  • 销售净利润怎么算
  • 职工教育经费的差旅费可以抵扣吗
  • sql中查询语句
  • windows下mysql 5.7版本中修改编码为utf-8的方法步骤
  • win7系统对拷的方法
  • windows 托盘
  • 进程 电脑
  • 网卡破解
  • linux ls命令什么意思
  • android开发环境搭建实验报告总结
  • javascript闭包优缺点
  • jquery示例
  • android 快速开发
  • ie6怎么设置兼容性
  • Python爬取网易云一首歌的全部评论并进行分析
  • dos命令中删除文件命令有哪些
  • unity strangeioc
  • jquery类型转换
  • python中对文件操作的一般步骤
  • javascript操作网页
  • android教程下载
  • python socket模块
  • 3.5车船税2400还是3000
  • 资源税的定义是什么
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设