⚠️ 这是一个非官方翻译网站,与 ImageMagick Studio LLC 无关。准确信息请参阅原文(https://usage.imagemagick.org/reference.html)

ImageMagick 示例 -- 参考索引

ImageMagick 示例:前言与索引 IM 命令索引 运算符选项索引 设置选项索引 文件格式索引 本页尝试将各种运算符、设置和图像格式索引到详细说明相应选项的章节,让你能够找出某个特定选项涉及图像处理的哪个方面,并被引导到使用该选项的示例。不过,这并不是 ImageMagick 中所有可用选项的完整列表(完整列表请参阅 命令行选项参考手册),因为 IM Examples 远未涵盖 IM 能做的所有事情。由于本索引是手工生成的,它很可能连 IM Examples 的最新状态都未必跟得上,因此如有任何错误或补充,请向我报告(邮箱见页脚)。


IM 命令索引

建设中

命令 IM 示例参考……
`Convert 在图像格式间转换/处理图像
另请参阅 实例 `
[Mogrify](https://imagemagick.org/mogrify/) | [就地批量处理](basics.html#mogrify)
`Composite 以特殊方式叠加两张图像
另请参阅 IM 示例的 合成 页面 `
`Montage 生成缩略图阵列
另请参阅 IM 示例的 拼贴 页面 `
`Identify 输出图像的信息
另请参阅 info: 文件格式 `
`Compare 查找差异
另请参阅 比较统计 `
[Display](https://imagemagick.org/display/) | [显示图像与幻灯片](basics.html#display)
[Animate](https://imagemagick.org/animate/) | [动画播放多幅图像](basics.html#animate)
[Conjure](https://imagemagick.org/conjure/) | [IM 实验性脚本语言](basics.html#conjure)

运算符选项索引

建设中

运算符 IM 示例参考……
[( )](https://imagemagick.org/command-line-processing/#stack) (括号) 图像序列
[-adaptive-resize](https://imagemagick.org/command-line-options/#adaptive-resize) 自适应调整尺寸
[+adjoin](https://imagemagick.org/command-line-options/#adjoin) 合并多幅图像
[-alpha](https://imagemagick.org/command-line-options/#alpha) alpha 通道
[-append](https://imagemagick.org/command-line-options/#append) 拼接
[-annotate](https://imagemagick.org/command-line-options/#annotate) 注释
[-evaluate-sequence mean](https://imagemagick.org/command-line-options/#average) Evaluate-Sequence
[-auto-orient](https://imagemagick.org/command-line-options/#average) 照片
[-blend](https://imagemagick.org/command-line-options/#blend) (composite) 混合用法
[-blur](https://imagemagick.org/command-line-options/#blur) 图像模糊
[-border](https://imagemagick.org/command-line-options/#border) 边框
[-charcoal](https://imagemagick.org/command-line-options/#charcoal) 炭笔画
[-clamp](https://imagemagick.org/command-line-options/#clone) HDRI 钳制
[-clone](https://imagemagick.org/command-line-options/#clone) 图像序列
[-clut](https://imagemagick.org/command-line-options/#hald-clut) 颜色 LUT
[-coalesce](https://imagemagick.org/command-line-options/#coalesce) 合并展开
[-colorize](https://imagemagick.org/command-line-options/#colorize) 色彩着色
[-colors](https://imagemagick.org/command-line-options/#colors) 颜色量化
[-colorspace](https://imagemagick.org/command-line-options/#colorspace) 色彩空间
[-combine](https://imagemagick.org/command-line-options/#combine) 合并
[-composite](https://imagemagick.org/command-line-options/#composite) 图像合成
[-contrast-stretch](https://imagemagick.org/command-line-options/#contrast-stretch) contrast-stretch
[-convolve](https://imagemagick.org/command-line-options/#convolve) 卷积
[-decipher](https://imagemagick.org/command-line-options/#decipher) 图像加密
[-define](https://imagemagick.org/command-line-options/#define) 图像 Artifacts 高级滤镜选项
[-delete](https://imagemagick.org/command-line-options/#delete) 图像序列
[-dissolve](https://imagemagick.org/command-line-options/#dissolve) (composite) 溶解
[-distort](https://imagemagick.org/command-line-options/#distort) 扭曲
[-draw](https://imagemagick.org/command-line-options/#draw) 绘制
[-duplicate](https://imagemagick.org/command-line-options/#duplicate) 图像序列
[-edge](https://imagemagick.org/command-line-options/#edge) 边缘检测
[-emboss](https://imagemagick.org/command-line-options/#emboss) 浮雕
[-evaluate](https://imagemagick.org/command-line-options/#evaluate) 数学变换
[-evaluate-sequence](https://imagemagick.org/command-line-options/#evaluate-sequence) Evaluate-Sequence
[-extent](https://imagemagick.org/command-line-options/#extent) 范围边缘/裁剪
[-flatten](https://imagemagick.org/command-line-options/#flatten) 展平
[-floodfill](https://imagemagick.org/command-line-options/#floodfill) 替换区域
[-flop](https://imagemagick.org/command-line-options/#flop) 简单扭曲
[-frame](https://imagemagick.org/command-line-options/#frame) 画框
[-function](https://imagemagick.org/command-line-options/#function) 数学变换
[-fx](https://imagemagick.org/command-line-options/#frame) 自制图像运算
[-gamma](https://imagemagick.org/command-line-options/#gamma) 伽马调整
[-gaussian-blur](https://imagemagick.org/command-line-options/#gaussian-blur) 高斯模糊
[-geometry](https://imagemagick.org/command-line-options/#geomtery) 几何(调整尺寸)
[-hald-clut](https://imagemagick.org/command-line-options/#hald-clut) Hald CLUT
[-identify](https://imagemagick.org/command-line-options/#identify) 文本输出
[-implode](https://imagemagick.org/command-line-options/#implode) 内爆
[-insert](https://imagemagick.org/command-line-options/#insert) 图像序列
[-list](https://imagemagick.org/command-line-options/#list) IM 控制
[-layers](https://imagemagick.org/command-line-options/#layers)
[-level](https://imagemagick.org/command-line-options/#level) 色阶调整
[-level-colors](https://imagemagick.org/command-line-options/#level-colors) 色阶颜色
[-linear-stretch](https://imagemagick.org/command-line-options/#linear-stretch) 直方图
[-liquid-rescale](https://imagemagick.org/command-line-options/#liquid-rescale) 液态缩放
[-remap](https://imagemagick.org/command-line-options/#remap) 重映射颜色
[-alpha set](https://imagemagick.org/command-line-options/#matte) alpha 通道
[-median](https://imagemagick.org/command-line-options/#median)
[-modulate](https://imagemagick.org/command-line-options/#modulate) Modulate
[-monochrome](https://imagemagick.org/command-line-options/#monochrome) 黑白抖动
[-morph](https://imagemagick.org/command-line-options/#monochrome) 色彩变形
[-morphology](https://imagemagick.org/command-line-options/#morphology) 形态学
[-motion-blur](https://imagemagick.org/command-line-options/#motion-blur) 运动模糊
[-negate](https://imagemagick.org/command-line-options/#negate) 图像取反
[-normalize](https://imagemagick.org/command-line-options/#normalize) 归一化
[-noise](https://imagemagick.org/command-line-options/#noise)
[-opaque](https://imagemagick.org/command-line-options/#opaque) 颜色替换
[-ordered-dither](https://imagemagick.org/command-line-options/#ordered-dither) 有序抖动
[-paint](https://imagemagick.org/command-line-options/#paint) 油画
[-pen](https://imagemagick.org/command-line-options/#pen) 已废弃
[-polaroid](https://imagemagick.org/command-line-options/#polaroid) 宝丽来变换
[-posterize](https://imagemagick.org/command-line-options/#posterize) 色调分离
[-print](https://imagemagick.org/command-line-options/#print) 文本输出
[-profile](https://imagemagick.org/command-line-options/#profile) 图像配置文件
[-radial-blur](https://imagemagick.org/command-line-options/#radial-blur) 径向模糊
[-raise](https://imagemagick.org/command-line-options/#raise) 凸起/凹陷边框
[-random-threshold](https://imagemagick.org/command-line-options/#random-threshold) 随机抖动
[-repage](https://imagemagick.org/command-line-options/#repage) 移除画布
[-recolor](https://imagemagick.org/command-line-options/#repage) 重新着色
[-resample](https://imagemagick.org/command-line-options/#resample) 重采样
[-region](https://imagemagick.org/command-line-options/#resample) 区域
[-resize](https://imagemagick.org/command-line-options/#resize) 调整尺寸
[-roll](https://imagemagick.org/command-line-options/#roll) 简单扭曲
[-sample](https://imagemagick.org/command-line-options/#sample) 采样
[-scale](https://imagemagick.org/command-line-options/#scale) 缩放
[-segment](https://imagemagick.org/command-line-options/#segment) 图像排序
[-separate](https://imagemagick.org/command-line-options/#separate) 分离
[-sepia](https://imagemagick.org/command-line-options/#sepia) 棕褐色调
[-set](https://imagemagick.org/command-line-options/#set) 图像属性
[-sketch](https://imagemagick.org/command-line-options/#sketch) 铅笔素描
[-shade](https://imagemagick.org/command-line-options/#shade) 3D 高光
[-shadow](https://imagemagick.org/command-line-options/#shadow) 阴影
[-sharpen](https://imagemagick.org/command-line-options/#sharpen) 非锐化卷积
[-sigmoidal-contrast](https://imagemagick.org/command-line-options/#sigmoidal-contrast) S 型对比度
[-solarize](https://imagemagick.org/command-line-options/#solarize) 曝光过度
[-sparse-color](https://imagemagick.org/command-line-options/#sparse-color) 稀疏颜色
[-splice](https://imagemagick.org/command-line-options/#splice) 插接
[-spread](https://imagemagick.org/command-line-options/#spread)
[-stegano](https://imagemagick.org/command-line-options/#stegano) 嵌入图像
[-strip](https://imagemagick.org/command-line-options/#strip) 图像配置文件
[-swap](https://imagemagick.org/command-line-options/#swap) 图像序列
[-swirl](https://imagemagick.org/command-line-options/#swirl) 漩涡
[-taint](https://imagemagick.org/command-line-options/#taint) 委托程序
[-threshold](https://imagemagick.org/command-line-options/#threshold) 阈值
[-thumbnail](https://imagemagick.org/command-line-options/#thumbnail) 缩略图
[-tint](https://imagemagick.org/command-line-options/#tint) 灰度着色
[-transform](https://imagemagick.org/command-line-options/#transform) 仿射变换
[-transparent](https://imagemagick.org/command-line-options/#transparent) 颜色替换
[-transpose](https://imagemagick.org/command-line-options/#transpose) 简单扭曲
[-unique-colors](https://imagemagick.org/command-line-options/#unique-colors) 图像颜色
[-unsharp](https://imagemagick.org/command-line-options/#unsharp) 非锐化卷积
[-vignette](https://imagemagick.org/command-line-options/#vignette) 晕影
[-watermark](https://imagemagick.org/command-line-options/#watermark) (composite) 水印
[-write](https://imagemagick.org/command-line-options/#write) 写出多幅
[format:](https://imagemagick.org/command-line-processing/#input) (读取) 读取图像
[format:](https://imagemagick.org/command-line-processing/#output) (写入) 保存图像
[format:](https://imagemagick.org/command-line-processing/#input) (大图像) 超大图像

设置选项索引

建设中

设置 类型 IM 示例参考……
[-affine](https://imagemagick.org/command-line-options/#affine) Op 仿射
[-attenuate](https://imagemagick.org/command-line-options/#attenuate) Op
[-authenticate](https://imagemagick.org/command-line-options/#authenticate) Op
[-background](https://imagemagick.org/command-line-options/#background) In/Op/Out label:, caption:, text:
[-bordercolor](https://imagemagick.org/command-line-options/#bordercolor) In/Op/Out 边框
[-bias](https://imagemagick.org/command-line-options/#bias) Op 卷积偏置
[-blackpoint-compensation](https://imagemagick.org/command-line-options/#blackpoint-compensation) Out 配置文件
[-channel](https://imagemagick.org/command-line-options/#channel) Op 颜色通道
[-clip](https://imagemagick.org/command-line-options/#clip) Op 剪切遮罩
[-clip-mask](https://imagemagick.org/command-line-options/#clip-mask) Op 剪切路径
[-clip-path](https://imagemagick.org/command-line-options/#clip-path) Op 剪切路径
[-compose](https://imagemagick.org/command-line-options/#compose) In/Op 合成方法
[-compress](https://imagemagick.org/command-line-options/#compress) Out 保存图像
[-debug](https://imagemagick.org/command-line-options/#debug) Ctrl IM 控制
[-define](https://imagemagick.org/command-line-options/#define) Op/Out 图像属性
[-delay](https://imagemagick.org/command-line-options/#delay) In GIF 动画
[-density](https://imagemagick.org/command-line-options/#density) In/Out 字号控制
[-depth](https://imagemagick.org/command-line-options/#depth) Out 深度与质量
[-dispose](https://imagemagick.org/command-line-options/#dispose) In GIF 处置方式
[+dither](https://imagemagick.org/command-line-options/#dither) Op 误差扩散抖动
[-encoding](https://imagemagick.org/command-line-options/#encoding) Op
[-endian](https://imagemagick.org/command-line-options/#endian) Out tiff:
[-extract](https://imagemagick.org/command-line-options/#extract) In 读取修改
[-fill](https://imagemagick.org/command-line-options/#fill) Op 绘制图元
[-filter](https://imagemagick.org/command-line-options/#filter) Op 重采样滤镜
[-font](https://imagemagick.org/command-line-options/#font) Op label:
[-format](https://imagemagick.org/command-line-options/#format) (mogrify save) Out Mogrify
[-format](https://imagemagick.org/command-line-options/#format) (info escapes) Op/Out Identify
[-frame](https://imagemagick.org/command-line-options/#frame) (montage) Out 拼贴
[-geometry](https://imagemagick.org/command-line-options/#geomtery) Op 几何(调整尺寸)
[-gravity](https://imagemagick.org/command-line-options/#gravity) Op 图像与文本
[-immutable](https://imagemagick.org/command-line-options/#immutable) (display) Ctrl 显示
[-intent](https://imagemagick.org/command-line-options/#intent) Out 配置文件
[-interlace](https://imagemagick.org/command-line-options/#interlace) Out 写入 JPG
[-interpolate](https://imagemagick.org/command-line-options/#interpolate) Op 插值
[-interword-spacing](https://imagemagick.org/command-line-options/#interword-spacing) Op 词间距
[-list](https://imagemagick.org/command-line-options/#list) Ctrl IM 控制
[-kerning](https://imagemagick.org/command-line-options/#kerning) Op 字符间距
[-loop](https://imagemagick.org/command-line-options/#loop) Out GIF 动画
[-mask](https://imagemagick.org/command-line-options/#mask) Op 写出遮罩
[-mattecolor](https://imagemagick.org/command-line-options/#mattecolor) Op 画框
[-monitor](https://imagemagick.org/command-line-options/#monitor) Ctrl IM 控制
[-page](https://imagemagick.org/command-line-options/#page) In text:
[-path](https://imagemagick.org/command-line-options/#path) Out Mogrify
[-pen](https://imagemagick.org/command-line-options/#pen) - 已废弃
[-ping](https://imagemagick.org/command-line-options/#ping) Ctrl IM 控制
[-pointsize](https://imagemagick.org/command-line-options/#pointsize) Op 字号控制
[-precision](https://imagemagick.org/command-line-options/#precision) Ctrl IM 控制
[-quality](https://imagemagick.org/command-line-options/#quality) Out 保存图像
[-quantize](https://imagemagick.org/command-line-options/#quantize) Op 量化色彩空间
[-quiet](https://imagemagick.org/command-line-options/#quiet) Ctrl IM 控制
[-regard-warnings](https://imagemagick.org/command-line-options/#regard-warnings) Ctrl IM 控制
[-respect-parenthesis](https://imagemagick.org/command-line-options/#respect-parenthesis) Ctrl 括号
[-sampling-factor](https://imagemagick.org/command-line-options/#sampling-factor) Out 写入 JPG
[-scene](https://imagemagick.org/command-line-options/#scene) Out 写出图像序列
[-seed](https://imagemagick.org/command-line-options/#seed) Op 等离子
[-shadow](https://imagemagick.org/command-line-options/#shadow) (montage) Out 拼贴
[-size](https://imagemagick.org/command-line-options/#size) Op xc:
[-stroke](https://imagemagick.org/command-line-options/#stroke) Op 描边
[-strokewidth](https://imagemagick.org/command-line-options/#strokewidth) Op 描边宽度
[-support](https://imagemagick.org/command-line-options/#support) -- 已废弃
[-texture](https://imagemagick.org/command-line-options/#texture) (montage) Out 拼贴
[-tile](https://imagemagick.org/command-line-options/#tile) Op 平铺画布
[-tile](https://imagemagick.org/command-line-options/#tile) (composite) Op 平铺叠加
[-tile-offset](https://imagemagick.org/command-line-options/#tile-offset) Op 平铺偏移
[-title](https://imagemagick.org/command-line-options/#tile) Out 拼贴
[-transparent-color](https://imagemagick.org/command-line-options/#transparent-color) Out GIF 透明
[-undercolor](https://imagemagick.org/command-line-options/#undercolor) Op 底色
[-units](https://imagemagick.org/command-line-options/#units) Op 其他格式(PDF)
[-verbose](https://imagemagick.org/command-line-options/#verbose) Ctrl IM 控制
[-version](https://imagemagick.org/command-line-options/#version) Ctrl IM 控制
[-virtual-pixel](https://imagemagick.org/command-line-options/#virtual-pixel) Op 虚拟像素
设置的种别基本定义如下…… Op
--- --- ---
In 在图像读取/创建时覆盖/设置图像元数据
Out 输出格式控制(含文本输出)
Ctrl 控制 IM 的总体运行与调试
更多细节请参阅 选项的种类

文件格式索引

 **常见图像文件格式……**

| |
[gif:](formats.html#gif) | Graphics Interchange Format
[gif:](anim_basics.html#gif_anim) | GIF 动画
[jpg:](formats.html#jpg) | Joint Photographic Experts Group Format
[png:](formats.html#png) | Portable Network Graphic
[svg:](draw.html#svg_output) | Scalable Vector Graphic
[tiff:](formats.html#tiff) | Tagged Image File Format
[ps:](text.html#postscript) | Postscript,预格式化文本
[pdf:](formats.html#pdf) | Portable Document Format
[bmp:](formats.html#bmp) | Windows 位图
其中大多数在 常见图像文件格式示例页面 中有详细说明
画布图像生成器……


| | | [gradient:](canvas.html#gradient) | 颜色渐变生成器
[pattern:](canvas.html#pattern) | 内置平铺图案生成器
[plasma:](canvas.html#plasma) | 等离子/随机图像生成器
[tile:](canvas.html#tile) | 平铺画布生成器
[xc:](canvas.html#solid) | 纯色画布
另请参阅自制 随机噪声图像 文本图像生成器……


| |
[caption:](text.html#caption) | 自动换行标签
[label:](text.html#label) | 简单文本标签
[ps:](text.html#postscript) | Postscript,预格式化文本
[text:](text.html#text) | 多行文本文件
另请参阅 文本转图像示例页面 上的其他文本生成方法,例如在图像上绘制文本的 注释特殊用途图像格式……


| |
[fd:](files.html#fd) | 文件描述符管道
[hald:](color_mods.html#hald-clut) | Hald 颜色查找表生成器
[histogram:](files.html#histogram) | 直方图图形(+颜色计数)
[info:](files.html#info) | 图像 Identify 信息
[miff:](files.html#miff) | Magick Image File Format
[mpc:](files.html#mpc) | Magick Persistent (Disk) Cache
[mpr:](files.html#mpr) | Magick Program (memory) Register
[mvg:](draw.html#mvg) | Magick Vector Graphic
[null:](files.html#null) | Null/错误图像
[show:](files.html#show) | 屏幕上显示图像(后台)
[txt:](files.html#txt) | 文本图像(像素颜色列表)
[x:](files.html#x) | X 窗口图像捕获与显示
另请参阅 特殊图像格式其他图像文件格式……
这些通常仅作为其他示例的一部分被提及。


| |
网络便携位图 (PBM,PPM) | 其他格式 | 调整渐变尺寸, txt:
Postscript (PS) | 其他格式 | ps:, 矢量图像
封装 Postscript (EPS) | 其他格式 | (另请参阅 postscript)
MPEG 与 M2V | 其他格式
Autotrace: | SVG 输出
原始数码相机图像 (CRW,CR2,NEF,X3F 等) | 其他格式
PSD | 其他格式
Windows 图元文件格式 (WMF) | 其他格式
Macromedia Flash (SWF) | 其他格式
DPX | 其他格式
HTML 网页 | 其他格式
PCL 打印格式 | 其他格式
Kodak PhotoCD 格式 (PCD) | 其他格式
原始 RGB 数据 | 其他格式