位置: 编程技术 - 正文

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)

  • 单独确认进项税额的情形
  • 待摊费用和无形资产摊销
  • 业务往来中接受礼品道德吗
  • 金融工具减值的简化处理
  • 车辆通行费属于政府性基金吗
  • 调研费包括哪些科目
  • 销售费用与管理的关系
  • 什么情况可以减免税收
  • 进口设备的重置成本包括( )
  • 企业职工遣散费标准
  • 住宿费专票可以报销吗
  • 管理费用多计提了怎么冲
  • 税控设备维护费怎么填申报表
  • 产品销售员
  • 深圳报关费用是多少
  • 股权转让有溢价怎么做账
  • 补发工资个人所得税怎么申报
  • 快递费税率为什么是9
  • 外卖收入增值税怎么算
  • world超链接
  • 纳税人办理退税手续流程
  • 小规模减免的税额怎么做账
  • 金税盘减免税款可以抵扣销项税吗
  • 现金流量表的编制基础是权责发生制
  • 如何修改自己电脑物理地址
  • win10播放视频软件
  • dcs是什么文件夹可以删除吗
  • PHP:mb_http_input()的用法_mbstring函数
  • 仙客来养殖方法和注意事项视频
  • 出售固定资产增值税怎么处理
  • 股东权益增加额/期初净经营资产
  • 员工离职后公司还用照片
  • 增值税的特殊项目
  • 国有控股企业改制
  • thinkphp配置文件
  • html盒子边框圆角
  • vscode怎么看错误提示
  • 税务局清税
  • 哈希表散列函数
  • 未开票收入是否含税
  • mongodb $nin
  • 外购固定资产入账
  • 完全删除sql server2012
  • 行政单位怎样核销坏账
  • 营业执照是什么字体
  • 增值税普通发票查询
  • 成本核算方法是资源到作业,作业到产品吗?
  • 出口没做免税申请怎么办
  • 付款金额与发票金额不一致能入账吗?
  • 计提本月工资会计怎么做账
  • 工会经费滞纳金怎么算
  • 员工报销签字流程
  • 费用类科目的明细怎么写
  • 怎么把应付账款冲平
  • 公章未备案是否不合法
  • 简述公司利润分配的程序
  • 服务业建账科目设置
  • 成本核算应设置哪些会计账户
  • mysql的外键
  • sqlserver交叉表
  • centosyum源
  • Win7系统进入桌面后点每个文件都会打转
  • win10选择一个选项
  • win10 version 1607 累积更新失败卡了怎么办
  • linuxwindows差别
  • switpa.exe - switpa是什么进程
  • windows10体验指数如何查看
  • xp系统如何更新
  • awk中执行命令
  • cocos2dx3.2 android平台APK打包
  • three.js官方文档
  • 自动释放池原理,本质
  • angularjs4
  • android 图表控件
  • shell脚本遍历文件
  • linux shell 技巧
  • js canvas绘制图片
  • python数据类型有什么用
  • jquery和css的区别
  • 公司欠税款,还不上,怎么办
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设