位置: 编程技术 - 正文

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
  • 企业销售商品房需要缴纳什么税费
  • 金融业产值和金融业增加值有什么不同
  • 小规模公司用什么会计准则
  • 申报财务报表时应收和预收可以合并
  • 营改增后工程税收怎么计算
  • 营改增之后对企业的影响
  • 计算产品当月生产成本
  • 一般纳税人转让二手车增值税税率
  • 汽车折旧年限 税法
  • 贷款未收属于什么科目
  • 增值税纳税义务发生时间
  • 医院 科室承包
  • 小规模纳税人出租房屋增值税税率是多少
  • 公司客车高速费如何抵扣进项税?
  • 怎么用手撕胶带图解
  • 跨县提供建筑服务增值税申报
  • 一般纳税人是什么等级
  • 个人所得税违约怎么查询
  • 所得税汇算调增调减是什么意思
  • 代销返还
  • 违约金扣除吗
  • 进项税在即征即退吗
  • 收到管理费用的会计科目
  • mac book air文件夹怎么重命名
  • 不是第三方的贷款app
  • vue2.0解决跨域问题
  • 家具折旧费是什么意思
  • 抵扣进项税额的几种情况是
  • monolog php
  • 个税收入额是什么意思
  • php实现留言板功能
  • css加载是异步的吗
  • 金蝶软件可以自学吗
  • es工具类
  • docker 容器
  • dir命令参数
  • 关于专利技术转让的说法
  • python中import语句
  • dedecms转eyoucms
  • 工程施工新科目
  • 建筑企业结转成本依据准则
  • 维修费用的处理规定
  • 增值税留抵扣额
  • 一年内到期的非流动资产
  • 原材料不良赔偿率怎么算
  • 发票上的货物要怎么填?
  • 息税前利润与盈亏平衡点
  • 免租期可以退房吗
  • 企业职工福利费使用范围和标准
  • 合同没签定金可以退的吗
  • 预收货款未发货怎么办
  • 一正一负发票要做凭证吗
  • 银行开户许可证怎么查询
  • 企业注销未分配是从注册开始吗
  • 其他应付款在借方表示什么
  • 最基本的长度单位是什么
  • windows.old文件夹有啥用
  • Win7中Remote Procedure Call(RPC)服务能关闭吗
  • 重装系统 xp
  • 怎么提升mac性能
  • win 8系统怎么样
  • 置顶朋友圈怎么设置
  • js+html
  • cocos2dx游戏开发教程
  • Unity3D游戏开发标准教程
  • opengl颜色代码表
  • JQuery实现Ajax加载图片的方法
  • jquery设置内容
  • 使用struts2+Ajax+jquery验证用户名是否已被注册
  • python怎么读取中文txt文本
  • javascript面向
  • 销售货物免征增值税时收取的增值税税款需计入当期损益
  • 税务文书有哪些
  • 税务工作的前景怎么样
  • 城市维护建设税税率
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设