位置: 编程技术 - 正文

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)

  • 如何在天猫平台抢茅台
  • 停车费增值税税率
  • 应收账款逾期未收回账务处理
  • 住房补贴需要交什么材料
  • 用友删除凭证后期初余额不对
  • 增值税电子普通发票怎么作废
  • 计税金额是含税还是不含税
  • 出售简易征收的固定资产的增值税怎么计算
  • 短期借款利息都需要测算什么
  • 逾期认证未抵扣的文件
  • 传媒公司发传单
  • 发票作废 费用
  • 自己公司开发票有什么好处
  • 企业所得表怎么填写
  • 驾校如何用完工百分比法确认收入?
  • 连接另外一个设备
  • 税盘的服务费
  • 期末调汇凭证怎么调
  • 旅游服务业账务处理办法
  • win11怎么更改系统日期
  • 未分配利润冲减其他应付款分录
  • 补缴增值税和滞纳税区别
  • memory tester
  • 问题解决能力
  • 交完社保
  • 非货币性资产交换
  • 二手房买卖要交契税吗
  • laravel create
  • 办公楼改造方案
  • 曲折的拼音
  • php trait用法
  • 计入职工福利费的有哪些
  • 宝宝不肯坐推车怎么办
  • php开发项目
  • css选择器nth
  • vue el-
  • showmount命令安装
  • thinkphp如何连接数据库
  • 承租方承担的税费是多少
  • 增值税普通发票需要交税吗
  • 无形资产和固定资产减值准备可以转回吗
  • 26个字母!
  • 识别假人民币的简便方法
  • 事业单位政府拨款的会计分录
  • 数据库触发器db2什么意思
  • 出售其他债权投资产生的收益为什么计入留存收益
  • linux mysql 找回密码
  • 分红股份会减少吗
  • 国有划拔土地房整体可以买卖吗
  • 人力资源外包服务企业
  • 多计提的折旧费怎么做账
  • 影院会计有前景吗
  • 库存商品可以用多栏式吗
  • 新建企业需要什么手续
  • sql删除多条记录
  • ubuntu怎么安装程序
  • win8最多支持多大内存
  • 怎么设置虚拟硬盘储存路径
  • scsiaccess.exe - scsiaccess是什么进程 有什么用
  • debian与centos详细对比区别
  • nginx sbin目录
  • Linux系统怎么用梯子
  • 在linux系统中查看文件的内容命令
  • win8锁定屏幕
  • win7系统删除文件夹怎么恢复
  • win10英文版系统怎么完全改为中文
  • linux的web服务器
  • js 读取 excel
  • node connect
  • Jquery操作Ajax方法小结
  • css网页布局中注释是什么
  • java urlencode如何使用
  • listview属性设置
  • 深圳龙华街道办电话
  • 工商注册和税务登记费用
  • 收到补税点的分录
  • 辛嵨静志
  • 纳税申报期限和税款缴纳期限一样吗
  • 什么是美国注册公司
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设