目录
gd_info
-- 取得当前安装的 GD 库的信息
getimagesize
-- 取得图像大小
image_type_to_extension
--
Get file extension for image type
image_type_to_mime_type
--
取得 getimagesize,exif_read_data,exif_thumbnail,exif_imagetype
所返回的图像类型的 MIME 类型
image2wbmp
-- 以 WBMP 格式将图像输出到浏览器或文件
imagealphablending
-- 设定图像的混色模式
imageantialias
-- 是否使用 antialias 功能
imagearc
-- 画椭圆弧
imagechar
-- 水平地画一个字符
imagecharup
-- 垂直地画一个字符
imagecolorallocate
-- 为一幅图像分配颜色
imagecolorallocatealpha
-- 为一幅图像分配颜色 + alpha
imagecolorat
-- 取得某像素的颜色索引值
imagecolorclosest
-- 取得与指定的颜色最接近的颜色的索引值
imagecolorclosestalpha
-- 取得与指定的颜色 + alpha 最接近的颜色
imagecolorclosesthwb
--
取得与给定颜色最接近的色度的黑白色的索引
imagecolordeallocate
-- 取消图像颜色的分配
imagecolorexact
-- 取得指定颜色的索引值
imagecolorexactalpha
-- 取得指定的颜色 + alpha 的索引值
imagecolormatch
--
使一个图像中调色板版本的颜色与真彩色版本更能匹配
imagecolorresolve
--
取得指定颜色的索引值或有可能得到的最接近的替代值
imagecolorresolvealpha
--
取得指定颜色 + alpha 的索引值或有可能得到的最接近的替代值
imagecolorset
-- 给指定调色板索引设定颜色
imagecolorsforindex
-- 取得某索引的颜色
imagecolorstotal
-- 取得一幅图像的调色板中颜色的数目
imagecolortransparent
-- 将某个颜色定义为透明色
imagecopy
-- 拷贝图像的一部分
imagecopymerge
-- 拷贝并合并图像的一部分
imagecopymergegray
-- 用灰度拷贝并合并图像的一部分
imagecopyresampled
-- 重采样拷贝部分图像并调整大小
imagecopyresized
-- 拷贝部分图像并调整大小
imagecreate
-- 新建一个基于调色板的图像
imagecreatefromgd2
-- 从 GD2 文件或 URL 新建一图像
imagecreatefromgd2part
-- 从给定的 GD2 文件或 URL 中的部分新建一图像
imagecreatefromgd
-- 从 GD 文件或 URL 新建一图像
imagecreatefromgif
-- 从 GIF 文件或 URL 新建一图像
imagecreatefromjpeg
-- 从 JPEG 文件或 URL 新建一图像
imagecreatefrompng
-- 从 PNG 文件或 URL 新建一图像
imagecreatefromstring
-- 从字符串中的图像流新建一图像
imagecreatefromwbmp
-- 从 WBMP 文件或 URL 新建一图像
imagecreatefromxbm
-- 从 XBM 文件或 URL 新建一图像
imagecreatefromxpm
-- 从 XPM 文件或 URL 新建一图像
imagecreatetruecolor
-- 新建一个真彩色图像
imagedashedline
-- 画一虚线
imagedestroy
-- 销毁一图像
imageellipse
-- 画一个椭圆
imagefill
-- 区域填充
imagefilledarc
-- 画一椭圆弧且填充
imagefilledellipse
-- 画一椭圆并填充
imagefilledpolygon
-- 画一多边形并填充
imagefilledrectangle
-- 画一矩形并填充
imagefilltoborder
-- 区域填充到指定颜色的边界为止
imagefilter
--
Applies a filter to an image
imagefontheight
-- 取得字体高度
imagefontwidth
-- 取得字体宽度
imageftbbox
-- 取得使用了 FreeType 2 字体的文本的范围
imagefttext
-- 使用 FreeType 2 字体将文本写入图像
imagegammacorrect
-- 对 GD 图像应用 gamma 修正
imagegd2
-- 输出 GD2 图像
imagegd
-- 将 GD 图像输出到浏览器或文件
imagegif
-- 以 GIF 格式将图像输出到浏览器或文件
imageinterlace
-- 激活或禁止隔行扫描
imageistruecolor
-- 检查图像是否为真彩色图像
imagejpeg
-- 以 JPEG 格式将图像输出到浏览器或文件
imagelayereffect
--
Set the alpha blending flag to use the bundled libgd layering effects
imageline
-- 画一条直线
imageloadfont
-- 载入一新字体
imagepalettecopy
-- 将调色板从一幅图像拷贝到另一幅
imagepng
-- 以 PNG 格式将图像输出到浏览器或文件
imagepolygon
-- 画一个多边形
imagepsbbox
-- 取得使用 PostScript Type1 字体的文本的范围
imagepscopyfont
--
拷贝一个已加载的字体以备更改
imagepsencodefont
-- 改变字体中的字符编码矢量
imagepsextendfont
-- 扩充或压缩字体
imagepsfreefont
-- 释放一个 PostScript Type 1 字体所占用的内存
imagepsloadfont
-- 从文件中加载一个 PostScript Type 1 字体
imagepsslantfont
-- 倾斜某字体
imagepstext
-- 用 PostScript Type1 字体把文本字符串画在图像上
imagerectangle
-- 画一个矩形
imagerotate
-- 用给定角度旋转图像
imagesavealpha
--
设置标记以在保存 PNG 图像时保存完整的 alpha 通道信息(与单一透明色相反)
imagesetbrush
-- 设定画线用的画笔图像
imagesetpixel
-- 画一个单一像素
imagesetstyle
-- 设定画线的风格
imagesetthickness
-- 设定画线的宽度
imagesettile
-- 设定用于填充的贴图
imagestring
-- 水平地画一行字符串
imagestringup
-- 垂直地画一行字符串
imagesx
-- 取得图像宽度
imagesy
-- 取得图像高度
imagetruecolortopalette
-- 将真彩色图像转换为调色板图像
imagettfbbox
-- 取得使用 TrueType 字体的文本的范围
imagettftext
-- 用 TrueType 字体向图像写入文本
imagetypes
-- 返回当前 PHP 版本所支持的图像类型
imagewbmp
-- 以 WBMP 格式将图像输出到浏览器或文件
imagexbm
--
Output XBM image to browser or file
iptcembed
-- 将二进制 IPTC 数据嵌入到一幅 JPEG 图像中
iptcparse
--
将二进制 IPTC
http://www.iptc.org/
块解析为单个标记
jpeg2wbmp
-- 将 JPEG 图像文件转换为 WBMP 图像文件
png2wbmp
-- 将 PNG 图像文件转换为 WBMP 图像文件
分享到:
相关推荐
安装环境时,缺少GD库,导致验证码无法出来。后四处搜集。终于搜集全了与GD相关的库,并安装成功。安装过程,可网上搜。附件只有安装包。
GD库配置文件 免费分享
用LUA调用GD库,可以画出各种图形,十分实用。
go-gd:GD 库的Go绑定
在PHP下使用GD库将图形中白色部分变为透明,由于使用imagecolortransparent不明原因的转换失败,便改变思路为:新建同尺寸透明图,然后遍历原图,在透明图上再填颜色,脚本内容亲测可用。
使用PHP操作图像,需要GD2库的支持!!
包含: freetype-2.4.0.tar.bz2, jpegsrc.v9.tar.gz, zlib-1.2.8.tar.gz, libpng-1.6.16.tar.gz, ...安装PHP的gd扩展依赖库之一,安装步骤参考: https://blog.csdn.net/u014740338/article/details/80471655
利用PHP中的GD库实现数字,字母,数字和字母的结合以及图片类型的验证码
GD库正常
一个基于GD库的php验证码类,设置图片高度,宽度,字符个数,颜色字体,图片背景等等。
基于Linux环境下Apache、PHP及GD库的配置实现.pdf
自己把图片路径改了跟下载字体文件,封装了一个curl直接用,自己也是学习阶段
gd库安装包
fontconfig freetype gd jpegsrc.v6b libmcrypt libpng libxml zlib 合一
内含: freetype-2.1.10.tar.gz,gd-2.0.33.tar.gz,jpegsrc.v6b.tar.gz ,jpegsrc.v6b.tar.gz ,jpegsrc.v6b.tar.gz
Delphi调用gd库生成随机验证码演示,常用于ISAPI网站中生成网页验证码。
GD库支持大全 包含以下tar包 jpegsrc.v6b.tar.gz libpng-1.2.44.tar.gz zlib-1.2.5.1.tar.gz gd-2.0.28.tar.gz freetype-2.3.5.tar.gz
GD字体产生器 php gd库大家都知道把,抓紧下载使用。让gd产生的字变好看。选择字体后就可以变化了。
php借助gd库各种处理图片