位置: 编程技术 - 正文

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)

  • 小规模纳税人有增值税吗
  • 纳税人规模证明是什么
  • 增值税留抵税额是什么意思
  • 工程结算是含税还是不含税
  • 事业单位财政拨款取得方式
  • 公司支付代账费怎么入账
  • 公司办理个人所得税退税
  • 电子产品委外加工
  • 建筑工地的零星补单是指什么意思
  • 到账的钱还能退回去吗
  • 赠送的固定资产需要计提折旧吗?
  • 小规模纳税人按什么标准纳税
  • 生产企业出口退税流程
  • 公司无偿使用个人车辆,个人需要缴纳税款吗
  • 关于小规模纳税人
  • 自用房屋的房产税怎么缴纳
  • 递延所得税资产怎么计算
  • 基金管理人收取回扣
  • 开发支出会计科目
  • 自然人个人能否纳税
  • 出口货物国际运输流程图
  • mac怎么访问路径
  • 促销费影响主营利润吗
  • 发票抵扣联章子盖的不清怎么办
  • php自学教程
  • 合同已无法履行
  • 货款形式返还
  • windows11怎么操作
  • php __destruct
  • PHP:finfo_file()的用法_fileinfo函数
  • 跨省异地施工
  • vue项目中技巧知识点
  • 企业收到政府奖励会计分录
  • php声明一个类
  • 增值税发票半年能开吗
  • electronx
  • vue运行报错怎么解决
  • 其他应付款的辅助核算项目是什么
  • 经验模态分解和变分模态分解
  • vue3版本网页小游戏
  • thinkphp怎么用
  • 拆迁补偿账务处理办法
  • mysql索引是否生效
  • 存货暂估入账会计分录
  • 销售价格确定的方法有
  • 简易征收适用哪些业务租赁
  • 专项扣除三险一金是哪三险
  • 超详细的mac重装系统教程
  • 其他综合收益影响留存收益吗
  • 收到退回货物
  • 商家的促销
  • 买车险要先付钱再上牌吗
  • 其他应收款内部往来
  • 事业单位基建账套会计科目
  • 银行手续费发票未到怎样做账
  • 培训费属于什么应税项目
  • 研发费用账务处理实例
  • 租房开的发票收的税如何做账?
  • 某项租赁合同,租赁期为8年,每年年末支付租金100万
  • 营业外支出有哪些费用
  • sql2000怎么修改默认实例名
  • SQLServer Execpt和not in 性能区别
  • linux 切文件
  • winvnc.exe进程是什么
  • win10官方要钱吗
  • remupd.exe - remupd是什么进程 有什么用
  • onetouch.exe - onetouch是什么进程 有什么用
  • linux kinit
  • 极限竞速中心应用程序
  • dos命令检测硬盘坏道
  • python的删除
  • python去除文件中的空格
  • 重庆市国家税务局电子税务局官网
  • 河南个人社保查询登录入口官网
  • 注销外经证需要身份证吗
  • 从香港回内地需要做核酸检测吗
  • 交了增值税还用交税吗
  • 广州地税网上社保怎么交
  • 02112366电子税务局
  • 省税务局属于什么级别
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设