PHP的GD库函数大全
GetImageSize
作用:取得图片的大小[即长与宽] 用法:array GetImageSize(string filename, array [imageinfo]);
ImageArc
作用:画弧线 用法:int ImageArc(int im, int cx, int cy, int w, int h, int s, int e, int col);
ImageChar
作用:写出横向字符 用法:int ImageChar(int im, int font, int x, int y, string c, int col);
ImageCharUp
作用:写出竖式字符 用法:int ImageCharup(int im, int font, int x, int y, string c, int col);
ImageColorAllocate
作用:匹配颜色 用法:int ImageColorAllocate(int im, int red, int green, int blue); ImageColorTransparent
作用:指定透明背景色 用法:int ImageColorTransparent(int im, int [col]);ImageCopyResized
作用:复制新图并调整大小 用法:int ImageCopyResized(int dst_im, int src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH);ImageCreate
作用:建立新图 用法:int ImageCreate(int x_size, int y_size); ImageDashedLine
作用:绘虚线 用法:int ImageDashedLine(int im, int x1, int y1, int x2, int y2, int col);
ImageDestroy 作用:结束图形 用法解释:int ImageDestroy(int im);ImageFill
作用:图形着色 用法:int ImageFill(int im, int x, int y, int col);
ImageFilledPolygon
作用:多边形区域着色 用法:int ImageFilledPolygon(int im, array points, int num_points, int col);
ImageFilledRectangle
作用:矩形区域着色 用法:int ImageFilledRectangle(int im, int x1, int y1, int x2, int y2, int col);ImageFillToBorder
作用:指定颜色区域内着色 用法:int ImageFillToBorder(int im, int x, int y, int border, int col);ImageFontHeight
作用:取得字型的高度 用法:int ImageFontHeight(int font);ImageFontWidth
作用:取得字型的宽度 用法:int ImageFontWidth(int font);ImageInterlace
作用:使用交错式显示与否 用法:int ImageInterlace(int im, int [interlace]);ImageLine
作用:绘实线 用法:int ImageLine(int im, int x1, int y1, int x2, int y2, int col);ImageLoadFont
作用:载入点阵字型 用法:int ImageLoadFont(string file); ImagePolygon
作用:绘多边形 用法:int ImagePolygon(int im, array points, int num_points, int col); ImageRectangle
作用:绘矩形 用法:int ImageRectangle(int im, int x1, int y1, int x2, int y2, int col);ImageSetPixel
作用:绘点 用法:int ImageSetPixel(int im, int x, int y, int col); ImageString 作用:绘横式字符串 用法:int ImageString(int im, int font, int x, int y, string s, int col);ImageStringUp
作用:绘直式字符串 用法:int ImageStringUp(int im, int font, int x, int y, string s, int col); ImageSX
作用:取得图片的宽度 用法:int ImageSX(int im);ImageSY
作用:取得图片的高度 用法:int ImageSY(int im); ImageTTFBBox
作用:计算 TTF 文字所占区域 用法:array ImageTTFBBox(int size, int angle, string fontfile, string text);ImageTTFText
作用:写 TTF 文字到图中 用法:array ImageTTFText(int im, int size, int angle, int x, int y, int col, string fontfile, string text); ImageColorAt 作用:取得图中指定点颜色的索引值 用法:int ImageColorAt(int im, int x, int y); ImageColorClosest
作用:计算色表中与指定颜色最接近者 用法:int ImageColorClosest(int im, int red, int green, int blue); ImageColorExact
作用:计算色表上指定颜色索引值 用法:int ImageColorExact(int im, int red, int green, int blue); ImageColorResolve
作用:计算色表上指定或最接近颜色的索引值 用法:int ImageColorResolve(int im, int red, int green, int blue);
ImageColorSet
作用:设定色表上指定索引的颜色 用法:boolean ImageColorSet(int im, int index, int red, int green, int blue); ImageColorsForIndex 作用:取得色表上指定索引的颜色 用法:array ImageColorsForIndex(int im, int index); ImageColorsTotal
作用:计算图的颜色数 用法:int ImageColorsTotal(int im); ImagePSLoadFont 作用:载入 PostScript 字型 用法:int ImagePSLoadFont(string filename);ImagePSFreeFont
作用:卸下 PostScript 字型 用法:void ImagePSFreeFont(int fontindex);ImagePSEncodeFont
作用:PostScript 字型转成向量字 用法:int ImagePSEncodeFont(string encodingfile);ImagePSText
作用:写 PostScript 文字到图中 用法:array ImagePSText(int image, string text, int font, int size, int foreground, int background, int x, int y, int space, int tightness, float angle, int antialias_steps); ImagePSBBox
作用:计算 PostScript 文字所占区域 用法: array ImagePSBBox(string text, int font, int size, int space, int width, float angle);ImageCreateFromPNG
作用:取出 PNG 图型 用法:int ImageCreateFromPng(string filename);ImagePNG
作用:建立 PNG 图型 用法:int ImagePng(int im, string [filename]);ImageCreateFromGIF
作用:取出 GIF 图型 用法:int ImageCreateFromGif(string filename);ImageGIF
作用:建立 GIF 图型 用法:int ImageGif(int im, string [filename]);
PHP的GD库函数大全相关推荐
- C语言库函数大全及应用实例二
[编程资料]C语言库函数大全及应用实例二 函数名: bioskey 功 能: 直接使用BIOS服务的键盘接口 ...
- linux下的c库函数大全
linux下的c库函数大全,虽然没有函数描述,但是最起码可以知道分类,就可以去 man 了 Linux C函数库参考手册 第1章字符测试函数 isalnum(测试字符是否为英文字母或数字) isalp ...
- C语言库函数大全及应用实例七
原文:C语言库函数大全及应用实例七 [编程资料]C语言库函数大全及应用实例七 函数名: getw 功 能: 从流中取一整数 用 法: int getw(FILE *strem); 程序例: <? ...
- C语言库函数大全及应用实例十四
原文:C语言库函数大全及应用实例十四 [编程资料]C语言库函数大全及应用实例十四 函数名: strset 功 能: 将一个串 ...
- C语言库函数大全及应用实例四
[编程资料]C语言库函数大全及应用实例四 couble fmod (double x, double y);<?xml:nam ...
- C语言库函数大全及应用实例六
C语言库函数大全及应用实例六 原文:C语言库函数大全及应用实例六 [编程资料]C语言库函数大全及应用实例六 函 ...
- C语言库函数大全及应用实例三
[编程资料]C语言库函数大全及应用实例三 函数名: ecvt 功 能: 把一个浮点数转换为字符串 用 法: char ecvt(double value, int ndigit, int *decpt ...
- c语言资料大全收集,C语言库函数大全(收集资料).pdf
Page 1 of 22 Arther's Blog 准备是成功的首要前提 博客园 社区 首页 新随笔 联系 管理 订阅 随笔- 208 文章- 0 评论- 14 c语言库函数大全--资料收集 与我联 ...
- c语言函数大全 pdf,C语言标准库函数大全.pdf
Page 1 of 22 Arther's Blog 准备是成功的首要前提 博客园 社区 首页 新随笔 联系 管理 订阅 随笔- 208 文章- 0 评论- 14 c语言库函数大全--资料收集 与我联 ...
最新文章
- 【转】BT5汉化步骤
- golang reflect Pointer 获取 传入的interface信息
- Linux开启路由转发功能(透明代理环境搭建)
- 回溯算法-排列/组合/子集
- c#中通过win32API(FindWindowEx)查找控件句柄实例
- AFNetWorking 使用记录
- 第一章 基于任务的程序设计
- 80-30-010-原理-React模式-简介
- Flutter进阶—点击、拖动和其他手势
- Codeforces1005E1 - Median on Segments (Permutations Edition)(中位数计数)
- vm虚拟机显卡是不是比服务器主板上的要好,自VM11起,虚拟显卡的性能是增强还是削弱?...
- Windwos cwRsync 服务端及客户端安装配置全攻略
- Vue中解决数据量过大导致页面崩溃;解决方案
- python程序30行_30行Python代码刷王者荣耀金币,还怕没有金币买英雄?
- 英语口语:进入外企的一道槛
- 小程序、APP Store 需要的 SSL 证书是个什么东西?
- 数学物理方法 05 留数定理
- keepalived工作原理和配置说明
- Excel函数公式大全—函数真经
- 数据挖掘——航空公司客户价值分析(代码完整)