位置: 编程技术 - 正文

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)

  • 个体户是否属于免征纳税对象是什么意思
  • 个人出租住宅需要缴纳房产税吗
  • 税收分类方法表格
  • 小微企业年度所得税优惠政策
  • 白条技巧
  • 免税收入不征税收入有哪些
  • 主营业务成本大于生产成本
  • 公司给员工发放福利的说辞
  • 企业所得税成本调减怎么填
  • 为什么出现补交税
  • 小企业会计制度科目表
  • 航运(集团)招聘
  • 销售多余材料会计分录怎么做
  • 现金支付借款如何认定
  • 合同履约成本合同结算如何处理抵消
  • 报废资产处置收入怎么计税
  • 月末收到一批b材料,结算凭证未到,估价50000
  • 营改增建筑业税率是多少
  • 从公司账户取现金
  • 协会核定的税种都有哪些?
  • 主营业务类别商业是什么
  • 公司账上的资金与注册资金不一致可以吗?
  • 贷款本金余额具体是什么意思
  • 1697510110
  • 工资五险一金缴费标准是多少
  • 公司成立前的准备工作有哪些
  • 联想笔记本bios密码忘记了
  • vmware15虚拟机
  • 手把手教你win7换主板不重装系统的方法
  • 如何在vue项目中导入外部的包
  • 微软输入法中文输入卡顿
  • 现金日记账需要本月合计吗
  • 个人所得税和企业所得税都要交吗
  • window10设置wifi热点
  • php递归函数详解
  • php扩展编写
  • macbook无限输入z
  • window10今天更新
  • window显示我的电脑
  • call for conference paper
  • 预付工程施工款会计分录
  • 前端几种下载文件
  • php内置数组
  • 施工企业间接费占比
  • Web前端开发用什么软件
  • 无票收入怎么计算1%税率
  • html5新增的标签元素有哪些
  • csdn创作激励
  • bp-神经网络
  • php安装教程
  • 收到上市公司分红企业所得税减半征收的情景
  • 利息收入做账
  • 递延收益的影响
  • 应收账款计入营业收入
  • sql编程软件哪个好用
  • 印花税计税依据怎么算
  • 在建工程和预付账款怎么转化
  • 应交税费应交增值税借贷方向
  • 非货币性资产交换和债务重组的区别
  • 企业用地手续办理流程
  • 买车能不交税吗
  • 正常存货周转率多少次合适
  • 账户分类的作用是什么
  • 百旺金赋税盘怎么清卡
  • 私营公司应付工资的规定
  • sqlserver解锁用户命令
  • macos 修改mac
  • centos配置kdump
  • centos7怎么配置
  • schedul2.exe - schedul2是什么进程 有什么用
  • linux shell 函数参数
  • windows8用的人少
  • opengl顶点坐标纹理坐标关系
  • jquery可以实现哪些效果
  • jquery常用操作
  • Node.js中的construct
  • nodejs前后端数据交互
  • jquery怎么设置宽度
  • api/home/getmyregion
  • 杭州金税盘客服电话是多少
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设