画前买块布
imagecreatetruecolor — 新建一个真彩色图像
imagealphablending — 设定图像的混色模式
有布也要墨
imagecolorallocate — 为一幅图像分配颜色
imagecolorallocatealpha — 为一幅图像分配颜色 + alpha
imagecolorat — 取得某像素的颜色索引值
imagecolorclosest — 取得与指定的颜色最接近的颜色的索引值
imagecolorclosestalpha — 取得与指定的颜色加透明度最接近的颜色
imagecolorclosesthwb — 取得与给定颜色最接近的色度的黑白色的索引
imagecolorexact — 取得指定颜色的索引值
imagecolorexactalpha — 取得指定的颜色加透明度的索引值
imagecolorresolve — 取得指定颜色的索引值或有可能得到的最接近的替代值
imagecolorresolvealpha — 取得指定颜色 + alpha 的索引值或有可能得到的最接近的替代值
imagecolorsforindex — 取得某索引的颜色
imagecolortransparent — 将某个颜色定义为透明色
imagecolorstotal — 取得一幅图像的调色板中颜色的数目
imagecolorset — 给指定调色板索引设定颜色
imagecolormatch — 使一个图像中调色板版本的颜色与真彩色版本更能匹配
imagecolordeallocate — 取消图像颜色的分配
imagepalettecopy — 将调色板从一幅图像拷贝到另一幅
imagepalettetotruecolor — Converts a palette based image to true color
画上点线面
imagesetstyle — 设定画线的风格
imagesetthickness — 设定画线的宽度
imagesetbrush — 设定画线用的画笔图像
imageline — 画一条线段
imagedashedline — 画一虚线
imagesetpixel — 画一个单一像素
imagerectangle — 画一个矩形
imagepolygon — 画一个多边形
imagearc — 画椭圆弧
imageellipse — 画一个椭圆
图个颜色画个饼
imagefill — 区域填充
imagefilledarc — 画一椭圆弧且填充
imagefilledellipse — 画一椭圆并填充
imagefilledpolygon — 画一多边形并填充
imagefilledrectangle — 画一矩形并填充
imagefilltoborder — 区域填充到指定颜色的边界为止
画完饼来签个名
imagefontheight — 取得字体高度
imagefontwidth — 取得字体宽度
imageloadfont — 载入一新字体
imageftbbox — 给出一个使用 FreeType 2 字体的文本框
imagefttext — 使用 FreeType 2 字体将文本写入图像
imagechar — 水平地画一个字符
imagecharup — 垂直地画一个字符
imagestring — 水平地画一行字符串
imagestringup — 垂直地画一行字符串
imagepsbbox — 给出一个使用 PostScript Type1 字体的文本方框
imagepsencodefont — 改变字体中的字符编码矢量
imagepsextendfont — 扩充或精简字体
imagepsfreefont — 释放一个 PostScript Type 1 字体所占用的内存
imagepsloadfont — 从文件中加载一个 PostScript Type 1 字体
imagepsslantfont — 倾斜某字体
imagepstext — 用 PostScript Type1 字体把文本字符串画在图像上
imagettfbbox — 取得使用 TrueType 字体的文本的范围
imagettftext — 用 TrueType 字体向图像写入文本
再来个电子信息签名
iptcembed — 将二进制 IPTC 数据嵌入到一幅 JPEG 图像中
iptcparse — 将二进制 IPTC 块解析为单个标记
画完存个档
imagegd2 — 将 GD2 图像输出到浏览器或文件
imagegd — 将 GD 图像输出到浏览器或文件
imagegif — 输出图象到浏览器或文件。
imagejpeg — 输出图象到浏览器或文件。
imagepng — 以 PNG 格式将图像输出到浏览器或文件
imagewbmp — 以 WBMP 格式将图像输出到浏览器或文件
imagewebp — 将 WebP 格式的图像输出到浏览器或文件
imagexbm — 将 XBM 图像输出到浏览器或文件
image2wbmp — 以 WBMP 格式将图像输出到浏览器或文件
存档图片格式转换
jpeg2wbmp — 将 JPEG 图像文件转换为 WBMP 图像文件
png2wbmp — 将 PNG 图像文件转换为 WBMP 图像文件
抓屏小能手
imagegrabscreen — Captures the whole screen
imagegrabwindow — Captures a window
把别人的图片拿过来改一改咱也是画家
imagecopy — 拷贝图像的一部分
imagecopymerge — 拷贝并合并图像的一部分
imagecopymergegray — 用灰度拷贝并合并图像的一部分
imagecopyresampled — 重采样拷贝部分图像并调整大小
imagecopyresized — 拷贝部分图像并调整大小
imagecreate — 新建一个基于调色板的图像
imagecreatefromgd2 — 从 GD2 文件或 URL 新建一图像
imagecreatefromgd2part — 从给定的 GD2 文件或 URL 中的部分新建一图像
imagecreatefromgd — 从 GD 文件或 URL 新建一图像
imagecreatefromgif — 由文件或 URL 创建一个新图象。
imagecreatefromjpeg — 由文件或 URL 创建一个新图象。
imagecreatefrompng — 由文件或 URL 创建一个新图象。
imagecreatefromstring — 从字符串中的图像流新建一图像
imagecreatefromwbmp — 由文件或 URL 创建一个新图象。
imagecreatefromwebp — 由文件或 URL 创建一个新图象。
imagecreatefromxbm — 由文件或 URL 创建一个新图象。
imagecreatefromxpm — 由文件或 URL 创建一个新图象。
图片变形金刚渲染
imageaffine — 返回经过仿射变换后的图像,剪切区域可选
imageaffinematrixconcat — Concat two matrices (as in doing many ops in one go)
imageaffinematrixget — Return an image containing the affine tramsformed src image, using an optional clipping area
imagerotate — 用给定角度旋转图像
imagecrop — Crop an image using the given coordinates and size, x, y, width and height
imagecropauto — Crop an image automatically using one of the available modes
imagescale — Scale an image using the given new width and height
假画要销毁
imagedestroy — 销毁一图像