位置: 编程技术 - 正文

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)

  • 海关进口增值税专用缴款书图片
  • 什么是增值税的混合销售行为
  • 库存暂估入账
  • 删除申报记录什么意思
  • 个税申报申报方式选择
  • 长期投资算资产负债表吗
  • 筹建期间购买的机械配件
  • 滞留票怎么做账务处理
  • 收到工伤赔偿款会计分录
  • 科研项目间接费用会计分录
  • 增值税起征点有啥用
  • 开发成本可以计增值税吗
  • 无偿使用期限为多少年
  • 营改增后购置设备进项税抵扣怎么做?
  • 水泥厂水泥增值税率是多少?
  • 经营性租入的设备是资产吗
  • 股权变更需要缴纳印花税吗,缴纳多少
  • 现金收入支出表怎么填
  • qqexternal.exe是什么进程如何删除(CPU的使用率在90%)
  • 查补的增值税能抵留抵吗
  • 应收账款保理的主要意图在于
  • php session_start
  • syms命令
  • php ioc
  • 关于灵活就业人员待遇享受政策
  • vue如何实现打印
  • 10分钟搞定3种网红小吃
  • 给员工报销
  • thinkphp整合layui
  • php如何遍历二维数组
  • 报销差旅费用什么发票
  • 房屋出租 交税
  • 工会的钱怎么取出来
  • 技术服务费增值税税率1%
  • python time. time
  • 织梦系统
  • 主营业务收入含义
  • 简易征收3%的征收率是什么意思
  • 即征即退 条件
  • 公司注册地址变更有什么影响
  • 物业公司物业费税率是多少
  • 企业购房如何入账
  • 进项税额转出的会计分录怎么做
  • 企业与企业之间通过互联网进行产品
  • 固定资产一次性扣除政策
  • 银行承兑汇票是什么意思
  • 库存现金太多违反什么规定
  • 安装调试费属于劳务还是服务
  • 企业法人从公司怎么拿钱
  • 财政专用存款账户
  • mysql常见故障和解决方法
  • centos7修改网络
  • solaris 11.4
  • win8系统怎么设置密码
  • linux运维是必死之路
  • win8系统怎么重新安装系统
  • win8系统无法开机出现字母
  • grub修复引导windows10
  • linux系统中命令什么大小写
  • 更加有效率
  • win7 64位旗舰版电脑被唤醒之后显示器依然黑屏怎么办?
  • win10系统打开文件夹就不停的闪
  • 常见的场景切换效果有哪些
  • material design设计
  • Unity Spine Skeleton Animation 2D骨骼动画 For Game 介绍
  • js中的apply方法
  • 深入浅出讲解es63
  • 刚开始学java的心得体会
  • 欢迎使用本公司智能语音电动车
  • 事件委托jq
  • JavaScript中的this
  • XRegExp 0.2: Now With Named Capture
  • 香皂需要换着用吗
  • 纳税申报的期限是多久
  • 增值税进项税额抵扣凭证
  • 朝阳区地方税务局电话
  • 上海手撕发票多少钱一本
  • 汽车销售环节要做什么
  • 提租补贴什么标准发放
  • 普通版怎么下载
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设