php gd保存图片,PHP: GD - Manual

gd_info — 取得当前安装的 GD 库的信息

image_type_to_mime_type — 取得 getimagesize,exif_read_data,exif_thumbnail,exif_imagetype

所返回的图像类型的 MIME 类型

image2wbmp — 以 WBMP 格式将图像输出到浏览器或文件

imageaffine — 返回经过仿射变换后的图像,剪切区域可选

imageaffinematrixconcat — Concatenate two affine transformation matrices

imageaffinematrixget — Get an affine transformation matrix

imageantialias — 是否使用抗锯齿(antialias)功能

imagebmp — Output a BMP image to browser or file

imagechar — 水平地画一个字符

imagecolorat — 取得某像素的颜色索引值

imagecolorclosest — 取得与指定的颜色最接近的颜色的索引值

imagecolorclosesthwb — 取得与给定颜色最接近的色度的黑白色的索引

imagecolormatch — 使一个图像中调色板版本的颜色与真彩色版本更能匹配

imagecolorresolve — 取得指定颜色的索引值或有可能得到的最接近的替代值

imagecolorresolvealpha — 取得指定颜色 + alpha 的索引值或有可能得到的最接近的替代值

imagecolorset — 给指定调色板索引设定颜色

imagecolorstotal — 取得一幅图像的调色板中颜色的数目

imageconvolution — 用系数 div 和 offset 申请一个 3x3 的卷积矩阵

imagecopy — 拷贝图像的一部分

imagecreate — 新建一个基于调色板的图像

imagecreatefrombmp — 由文件或 URL 创建一个新图象。

imagecreatefromgd2 — 从 GD2 文件或 URL 新建一图像

imagecreatefromgd2part — 从给定的 GD2 文件或 URL 中的部分新建一图像

imagecreatefromgd — 从 GD 文件或 URL 新建一图像

imagecreatefromgif — 由文件或 URL 创建一个新图象。

imagecreatefromjpeg — 由文件或 URL 创建一个新图象。

imagecreatefrompng — 由文件或 URL 创建一个新图象。

imagecreatefromwbmp — 由文件或 URL 创建一个新图象。

imagecreatefromwebp — 由文件或 URL 创建一个新图象。

imagecreatefromxbm — 由文件或 URL 创建一个新图象。

imagecreatefromxpm — 由文件或 URL 创建一个新图象。

imagecrop — Crop an image to the given rectangle

imagecropauto — Crop an image automatically using one of the available modes

imageflip — Flips an image using a given mode

imageftbbox — 给出一个使用 FreeType 2 字体的文本框

imagefttext — 使用 FreeType 2 字体将文本写入图像

imagegammacorrect — 对 GD 图像应用 gamma 修正

imagegd2 — 将 GD2 图像输出到浏览器或文件

imagegd — 将 GD 图像输出到浏览器或文件

imagegetclip — Get the clipping rectangle

imagegetinterpolation — Get the interpolation method

imagegif — 输出图象到浏览器或文件。

imagegrabscreen — Captures the whole screen

imagegrabwindow — Captures a window

imagejpeg — 输出图象到浏览器或文件。

imagelayereffect — 设定 alpha 混色标志以使用绑定的 libgd 分层效果

imageopenpolygon — Draws an open polygon

imagepalettecopy — 将调色板从一幅图像拷贝到另一幅

imagepalettetotruecolor — Converts a palette based image to true color

imagepng — 以 PNG 格式将图像输出到浏览器或文件

imageresolution — Get or set the resolution of the image

imagerotate — 用给定角度旋转图像

imagesavealpha — 设置标记以在保存 PNG 图像时保存完整的 alpha 通道信息(与单一透明色相反)

imagescale — Scale an image using the given new width and height

imagesetclip — Set the clipping rectangle

imagesetinterpolation — Set the interpolation method

imagestring — 水平地画一行字符串

imagesx — 取得图像宽度

imagesy — 取得图像高度

imagettfbbox — 取得使用 TrueType 字体的文本的范围

imagettftext — 用 TrueType 字体向图像写入文本

imagetypes — 返回当前 PHP 版本所支持的图像类型

imagewbmp — 以 WBMP 格式将图像输出到浏览器或文件

imagewebp — 将 WebP 格式的图像输出到浏览器或文件

imagexbm — 将 XBM 图像输出到浏览器或文件

iptcembed — 将二进制 IPTC 数据嵌入到一幅 JPEG 图像中

iptcparse — 将二进制 IPTC 块解析为单个标记

jpeg2wbmp — 将 JPEG 图像文件转换为 WBMP 图像文件

png2wbmp — 将 PNG 图像文件转换为 WBMP 图像文件

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值