位置: 编程技术 - 正文

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)

  • 税收的基本特征包括?
  • 发票开具与小票的关系是怎样的
  • 工商年报资产状况可以都填0吗
  • 企业保持存货的必要性是什么
  • 资产负债表季报本月数怎么填
  • 公司废品处理一定要入账吗
  • 金税盘开完票后怎么报税一下
  • 企业合并所得税筹划
  • 错账的查找方法及适用范围
  • 票据结算的分录怎么做
  • 现金流量表关注指标
  • 税率和征收率的含义和区别
  • 应收账款进行债务转让
  • 企业出口退税办理流程
  • 增值税发票免税和0%区别
  • 开票信息里面的电话号码怎么来的?
  • 施工服务费税率9%
  • 个人所得税福利费免税范围
  • 财务软件操作指南
  • 公司研发产品
  • 一万元国债一年多少利息
  • 城建附加减半征收文件
  • 私人打款到对公账户可以吗
  • 欠发工资如何赔偿
  • win10点击网络属性没反应
  • 文竹叶子发黄怎么办
  • 知乎百万大v
  • 黄金的伴生石
  • php写一个简单的单例模式
  • 付境外人员劳务费
  • 销售方红字发票账务处理?
  • 进出口公司如何做账
  • 金税盘,税控盘Ukey价格
  • 黄石国家公园的英文翻译
  • 收到退回的增值税专用发票账务处理
  • densenet详解
  • 调出command命令窗口
  • 多交的城建税可以抵减扣除吗
  • 公司法人代表能考公务员吗
  • 事业单位会计结转分录
  • 会计上弥补亏损
  • 公司盖厂房没有票要交税吗?
  • 个税系统经营所得人员怎样添加
  • 个人注册公司是否可以免税
  • 申报错误要罚款吗
  • mysql出现的问题
  • sql的where条件怎么写
  • 银行开出的发票可以进行税抵扣吗?
  • 客户多付的货款 不用退回 进营业外收入吗
  • 收购企业如何做账
  • 事业单位长期股权投资成本法和权益法
  • 应收代位追偿款会计分录
  • 工会经费按什么比例返还
  • 结转本年利润按什么算
  • 物业公司预收款账务处理
  • 房子贷款之后尾款发票
  • 明细账的作用
  • Windows10下MySQL5.7.19安装教程 MySQL忘记root密码修改方法
  • 运维过程
  • 解读分布式光伏开发前期工作要点及措施
  • 电脑提示Windows照片查看器无法打开此图片
  • linux@ubuntu
  • winxp显示设置
  • 如何在linux中添加环境变量
  • win7右下角的网络连接不显示
  • js立即执行函数几种写法
  • ghost详细说明
  • 请找到以下
  • javascript definitive guide
  • jquery 案例
  • nodejs 读取文件
  • 触摸模式设置
  • unity xml读取
  • 如何利用Fabric自动化你的任务
  • python for循环删除元素
  • 重庆车辆检测费多少钱
  • 青岛电子税务局电话人工客服电话
  • 国税手工发票
  • 四川税务专管员查询
  • 上海疫情租房金额怎么算
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设