Linux安装ImageMagick指南

安装命令

sudo --- install -----------

查看版本

------- -version

convert 命令参数

------ ------- [------- ..-] file [ [------- ..-] file ..-] [------- ..-] file

----- ---------

	-adjoin							join ------ ---- - ------ ----------- file
									-------------
	-affine							------ ------ --------- ------
									--------
	-alpha							------ --------- ----------- ------ -- set --- ----- -------
									--------------------
	-antialias						------ --------------
									------
	-authenticate					-------- -------- ----- ---- ---- --------
									---------
	-attenuate						----- ------ (-- ---------) ---- ------ ----- -- -- -----
									-------------------
	-background						---------- -----
									---
	-bias							----- add ---- ---- ---------- -- -----
									-----------
	-------------------------		--- ----- ----- ------------
									------
	-------------					----- ------------ ---- ------- -----
									------
	-bordercolor		 			------ -----
									----
	-caption						------	------ - ------- -- -- -----
									----------
	-channel						type ----- ------ -- select ----- --------
									----------------
	---------- --------				--------- - ---- ---- ---- --- -----
									----------
	-colors -----					--------- ------ -- ------ in --- -----
									---------
	-colorspace type				--------- ----- ----------
									--------
	-comment ------					-------- ----- ---- -------
									-------
	-compose --------				set ----- --------- --------
									---------
	-compress type			 		type -- ----- ----------- ---- ------- --- -----
									------------
	-define -------------			------ --- -- more ----- format -------
									-------------
	-delay -----				 	------- --- ---- ----- ----- -------
									----------
	-density --------				---------- --- -------- ------- -- --- -----
									----------
	-depth -----				 	----- -----
									----
	-direction type					------ ---- ------------- -- -------------
									-------------
	-display ------					--- ----- -- ---- ---- ---- - ------
									------------
	-dispose ------					----- -------- ------
									-----
	-dither ------					----- ----- --------- -- -----
									----------
	-encoding type					---- -------- type
									------
	-endian type				 	---------- (--- -- ---) -- --- -----
									-----(-------)
	-family ----				 	------ ---- ---- ---- ---- ------
									-----------
	-fill -----						----- -- --- ---- ------- - ------- ---------
									-------------
	-filter type				 	--- ---- ------ ---- -------- -- -----
									-------------
	-font ----					 	------ ---- ---- ---- ----
									---------
	-format "string"		 		------ --------- ----- ---------------
									---------
	-fuzz --------			 		------ ------ ---- -------- --- ---------- -----
									---------------
	-gravity type					---------- --- -------- ---- ---------
									---------
	-------------- ----- 			------------ ----- ------- -----
									-------
	-intensity ------				------ -- -------- --------- ----- ---- -----
									-----------
	-intent type				 	type -- --------- ------ ---- -------- --- ----- -----
									--------------
	-interlace type					type -- ----- ----------- ------
									---------
	------------------ -----		set --- ----- ------- --- ---- -----
									------------
	-interpolate ------				----- ----- ------------- ------
									--------
	------------------ -----		set --- ----- ------- --- -----
									-----------
	-kerning -----			 		set --- ----- ------- --- -------
									-----------
	-label ------					------ - ----- -- -- -----
									-------
	-limit type -----				----- ----- -------- -----
									--------
	-loop ----------		 		add -------- ---- --------- -- ---- --- ---------
									---------------------
	-mask --------			 		--------- - ---- ---- --- -----
									--------
	-matte							----- ----- ------- if --- ----- --- ---
									-----------------
	-mattecolor -----				----- -----
									----
	-moments						------ ----- -------
									------
	-monitor						------- --------
									----
	-orient type				 	----- -----------
									----
	-page --------			 		---- --- -------- -- -- ----- ------ (-------)
									--------------
	-ping							----------- --------- ----- ----------
									--------
	-pointsize -----		 		---- ----- ----
									-----
	-precision -----		 		------- ------ -- ----------- ------ -- -----
									----------
	-preview type					----- ------- type
									------
	-quality -----			 		------------- ----------- -----
									-----------------
	-quiet							-------- --- ------- --------
									----------
	------------ -----	 			------------ --- ------- -----
									-------
	----------------		 		--- --------- -- ------- --------
									------
	-remap --------					--------- ----- ------ -- ----- ---- set -- ------
									-------------
	-repage --------		 		---- --- -------- -- -- ----- ------
									----------
	-------------------- 			-------- ------ in ------ until ----------- --------
									-------------
	---------------- --------		---------- --- -------- -------- ------
									---------
	-scene -----				 	----- ----- ------
									------
	-seed -----						---- - --- -------- -- ------------- -------
									------------
	-size --------			 		----- --- ------ -- -----
									--------
	-stretch type					------ ---- ---- ---- ---- -------
									-----------
	-stroke -----					------- --------- ------ -----
									---------
	-strokewidth -----	 			------- --------- ------ -----
									--------
	-style type						------ ---- ---- ---- ---- -----
									-----------
	-support ------					------ -------- > 1.0 -- ------- < 1.0 -- -----
									------->1.0-----<1.0----
	-synchronize				 	----------- ----- -- ------- ------
									----------
	-taint							declare --- ----- -- --------
									---------
	-texture --------				---- -- ------- -- ---- ---- --- ----- ----------
									---------------
	------------ --------			---- ------
									----
	-treedepth -----		 		----- ---- -----
									-----
	------------------ -----		----------- -----
									---
	-undercolor -----				---------- -------- --- -----
									-------
	-units type						--- units -- ----- ----------
									--------
	-verbose						----- -------- ----------- ----- --- -----
									-----------
	-view							-------- ------- ----------
									------------
	-------------- ------			------- ----- ------ ------
									--------
	-weight type				 	------ ---- ---- ---- ---- ------
									-----------
	------------ -----	 			------------ ----- -----
									----

----- ----------

	-------------- --------				---------- ---- ------; -------- ------ ---- -----
										-----------------
	---------------- --------			---------- ------ ----- ----- 'mesh' -------------
										-----------------
	----------------- --------			---------- ------- ------; -------- ------ ---- -----
										------------------
	-alpha ------						--- --------- ---- ----------- ---- ------- ----- 
										------------ -------- ----------- -- -----
										---------------------------------
	-annotate -------- ----				-------- --- ----- ---- ----
										-------
	-----------							------------- ------ ----- ----- -- -----
										--------------
	-----------							------------- ------ ----- ------ -- -----
										-----------
	------------				 		------------- ------ (------) -----
										----------
	-bench ----------					------- -----------
										----
	---------------- -----				----- --- ------ ----- --- --------- ---- -----
										---------------
	----------- ------	 				-------- - ----- -- --------- in --- ---------
										----------
	-blur --------			 			------ ----- ----- --- ------ ------ ------
										-------------
	-border --------		 			-------- ----- ---- - ------ -- -----
										---------
	-bordercolor -----	 				------ -----
										----
	-------------------- --------		------- ---------- - -------- -- --- -----
										-----------
	-canny --------						------ ----- in --- -----
										--------
	-cdl --------						----- ------- ---- - ----- -------- ----
										--------------
	-charcoal ------		 			-------- - -------- -------
										-----
	-chop --------			 			------ ------ ---- --- ----- --------
										---------
	-clamp							 	---- ----- ------ in ----- (0-------------)
										--------------------------
	-clip								---- ----- --- ----- ---- ---- --- ---- -------
										--------------------
	---------- id						---- ----- - ----- ---- ---- --- ---- -------
										-------------------
	-colorize -----						-------- --- ----- ---- --- ---- -----
										---------
	------------- ------ 				----- ----- ---------- -- --- -----
										---------
	--------------------- ------------	-------------------- -------- -------
										---------
	-contrast							------- -- ------ --- ----- --------
										----------
	----------------- --------			------- -------- -- `stretching' the intensity range
										通过“拉伸”强度范围来提高对比度
	-convolve coefficients				apply a convolution kernel to the image
										对图像应用卷积核
	-cycle amount						cycle the image colormap
										循环图像颜色贴图
	-decipher filename	 				convert cipher pixels to plain pixels
										将密码像素转换为普通像素
	-deskew threshold					straighten an image
										使图像变直
	-despeckle					 		reduce the speckles within an image
										减少图像中的斑点
	-distort method args				distort images according to given method ad args
										根据给定方法ad参数扭曲图像
	-draw string				 		annotate the image with a graphic primitive
										用图形原语注释图像
	-edge radius				 		apply a filter to detect edges in the image
										应用过滤器检测图像中的边缘
	-encipher filename	 				convert plain pixels to cipher pixels
										将普通像素转换为密码像素
	-emboss radius						emboss an image
										浮雕图像
	-enhance						 	apply a digital filter to enhance a noisy image
										应用数字滤波器增强噪声图像
	-equalize							perform histogram equalization to an image
										对图像执行直方图均衡化
	-evaluate operator value			evaluate an arithmetic, relational, or logical expression
										计算算术表达式、关系表达式或逻辑表达式
	-extent geometry		 			set the image size
										设置图像大小
	-extract geometry					extract area from image
										从图像中提取区域
	-features distance	 				analyze image features (e.g. contrast, correlation)
										分析图像特征(例如对比度、相关性)
	-fft								implements the discrete Fourier transform (DFT)
										实现离散傅里叶变换(DFT)
	-flip								flip image vertically
										垂直翻转图像
	-floodfill geometry color			floodfill the image with color
										用颜色填充图像
	-flop								flop image horizontally
										水平翻拍图像
	-frame geometry						surround image with an ornamental border
										用装饰性边框环绕图像
	-function name parameters			apply function over image values
										对图像值应用函数
	-gamma value				 		level of gamma correction
										伽马校正水平
	-gaussian-blur geometry				reduce image noise and reduce detail levels
										降低图像噪声并降低细节级别
	-geometry geometry	 				preferred size or location of the image
										图像的首选大小或位置
	-grayscale method					convert image to grayscale
										将图像转换为灰度
	-hough-lines geometry				identify lines in the image
										识别图像中的线条
	-identify							identify the format and characteristics of the image
										识别图像的格式和特征
	-ift								implements the inverse discrete Fourier transform (DFT)
										实现逆离散傅里叶变换(DFT)
	-implode amount						implode image pixels about the center
										围绕中心的内爆图像像素
	-interpolative-resize geometry		resize image using 'point sampled' interpolation
										使用“点采样”插值调整图像大小
	-kuwahara geometry	 				edge preserving noise reduction filter
										边缘保持降噪滤波器
	-lat geometry						local adaptive thresholding
										局部自适应阈值
	-level value				 		adjust the level of image contrast
										调整图像对比度的级别
	-level-colors color,color			level image with the given colors
										用给定颜色调平图像
	-linear-stretch geometry			improve contrast by `---------- ---- ----------'
										通过“饱和拉伸”提高对比度
	-liquid-rescale geometry			rescale image with seam-carving
										用接缝雕刻重缩放图像
	-local-contrast geometry			enhance local contrast
										增强局部对比度
	-magnify						 	double the size of the image with pixel art scaling
										使用像素艺术缩放将图像大小加倍
	-mean-shift geometry 				delineate arbitrarily shaped clusters in the image
										在图像中描绘任意形状的簇
	-median geometry		 			apply a median filter to the image
										对图像应用中值过滤器
	-mode geometry			 			make each pixel the '----------- -----' of the
										neighborhood
										使每个像素成为邻域的“主要颜色”
	-modulate value						vary the brightness, saturation, and hue
										改变亮度、饱和度和色调
	-monochrome							transform image to black and white
										将图像转换为黑白
	-morphology method kernel			apply a morphology method to the image
										将形态学方法应用于图像
	-motion-blur geometry				simulate motion blur
										模拟运动模糊
	-negate								replace every pixel with its complementary color
										用互补色替换每个像素
	-noise geometry						add or reduce noise in an image
										在图像中添加或减少噪波
	-normalize					 		transform image to span the full range of colors
										变换图像以跨越整个颜色范围
	-opaque color						change this color to the fill color
										将此颜色更改为填充颜色
	-ordered-dither NxN					add a noise pattern to the image with specific amplitudes
										向具有特定振幅的图像添加噪波图案
	-paint radius						simulate an oil painting
										模拟油画
	-perceptible epsilon				pixel value less than |epsilon| become epsilon or -epsilon
										小于ε的像素值变为ε或-epsilon
	-polaroid angle						simulate a Polaroid picture
										模拟一次成像照片
	-posterize levels					reduce the image to a limited number of color levels
										将图像减少到有限的颜色级别
	-profile filename					add, delete, or apply an image profile
										添加、删除或应用图像配置文件
	-quantize colorspace 				reduce colors in this colorspace
										减少此颜色空间中的颜色
	-radial-blur angle	 				radial blur the image (deprecated use -rotational-blur
										径向模糊图像(不推荐使用-旋转模糊)
	-raise value				 		lighten/darken image edges to create a 3-D effect
										使图像边缘变亮/变暗以创建三维效果
	-random-threshold low,high			random threshold the image
										随机阈值图像
	-region geometry		 			apply options to a portion of the image
										将选项应用于图像的一部分
	-render								render vector graphics
										渲染矢量图形
	-resample geometry	 				change the resolution of an image
										更改图像的分辨率
	-resize geometry		 			resize the image
										调整图像大小
	-roll geometry			 			roll an image vertically or horizontally
										垂直或水平滚动图像
	-rotate degrees						apply Paeth rotation to the image
										将Paeth旋转应用于图像
	-rotational-blur angle				rotational blur the image
										旋转模糊图像
	-sample geometry		 			scale image with pixel sampling
										像素采样缩放图像
	-scale geometry						scale the image
										缩放图像
	-segment values						segment an image
										分割图像
	-selective-blur geometry			selectively blur pixels within a contrast threshold
										在对比度阈值内选择性模糊像素
	-sepia-tone threshold				simulate a sepia-toned photo
										模拟深褐色照片
	-set property value					set an image property
										设置图像属性
	-shade degrees			 			shade the image using a distant light source
										使用远距离光源对图像进行着色
	-shadow geometry		 			simulate an image shadow
										模拟图像阴影
	-sharpen geometry					sharpen the image
										锐化图像
	-shave geometry						shave pixels from the image edges
										从图像边缘去除像素
	-shear geometry						slide one edge of the image along the X or Y axis
										沿X或Y轴滑动图像的一条边
	-sigmoidal-contrast geometry		increase the contrast without saturating highlights or shadows
										增加对比度而不饱和高光或阴影
	-sketch geometry		 			simulate a pencil sketch
										模拟铅笔草图
	-solarize threshold					negate all pixels above the threshold level
										对阈值级别以上的所有像素求反
	-sparse-color method 				args fill in a image based on a few color points
										args根据几个颜色点填充图像
	-splice geometry		 			splice the background color into the image
										将背景色拼接到图像中
	-spread radius			 			displace image pixels by a random amount
										以随机数量置换图像像素
	-statistic type geometry			replace each pixel with corresponding 
										statistic from the neighborhood
										用邻域中的相应统计信息替换每个像素
	-strip							 	strip image of all profiles and comments
										所有外形和注释的条形图
	-swirl degrees			 			swirl image pixels about the center
										围绕中心旋转图像像素
	-threshold value		 			threshold the image
										为图像设置阈值
	-thumbnail geometry					create a thumbnail of the image
										创建图像的缩略图
	-tile filename			 			tile image when filling a graphic primitive
										填充图形基本体时平铺图像
	-tint value							tint the image with the fill color
										使用填充颜色对图像着色
	-transform					 		affine transform image
										仿射变换图像
	-transparent color	 				make this color transparent within the image
										使此颜色在图像中透明
	-transpose					 		flip image vertically and rotate 90 degrees
										垂直翻转图像并旋转90度
	-transverse							flop image horizontally and rotate 270 degrees
										水平翻转图像并旋转270度
	-trim								trim image edges
										修剪图像边缘
	-type type					 		image type
										图像类型
	-unique-colors			 			discard all but one of any pixel color
										除一种像素颜色外,放弃所有像素颜色
	-unsharp geometry					sharpen the image
										锐化图像
	-vignette geometry	 				soften the edges of the image in vignette style
										以渐晕风格柔化图像的边缘
	-wave geometry			 			alter an image along a sine wave
										沿正弦波改变图像
	-wavelet-denoise threshold			removes noise from the image using a wavelet transform
										使用小波变换去除图像中的噪声
	-white-threshold value				force all pixels above the threshold into white
										强制所有高于阈值的像素变成白色
Image Sequence Operators:

	-append								append an image sequence
										附加图像序列
	-clut								apply a color lookup table to the image
										将颜色查找表应用于图像
	-coalesce							merge a sequence of images
										合并一系列图像
	-combine						 	combine a sequence of images
										组合一系列图像
	-compare						 	mathematically and visually annotate the difference 
										between an image and its reconstruction
										用数学和视觉注释图像及其重建之间的差异
	-complex operator					perform complex mathematics on an image sequence
										对图像序列执行复杂的数学运算
	-composite					 		composite image
										合成图像
	-copy geometry offset				copy pixels from one area of an image to another
										将像素从图像的一个区域复制到另一个区域
	-crop geometry			 			cut out a rectangular region of the image
										剪切图像的矩形区域
	-deconstruct				 		break down an image sequence into constituent parts
										将图像序列分解为几个组成部分
	-evaluate-sequence operator			evaluate an arithmetic, relational, or logical expression
										计算算术表达式、关系表达式或逻辑表达式
	-flatten						 	flatten a sequence of images
										将一系列图像展平
	-fx expression			 			apply mathematical expression to an image channel(s)
										将数学表达式应用于图像通道
	-hald-clut					 		apply a Hald color lookup table to the image
										将Hald颜色查找表应用于图像
	-layers method			 			optimize, merge, or compare image layers
										优化、合并或比较图像层
	-morph value				 		morph an image sequence
										变形图像序列
	-mosaic								create a mosaic from an image sequence
										从图像序列创建马赛克
	-poly terms							build a polynomial from the image sequence and 
										the corresponding terms (coefficients and degree pairs).
										根据图像序列和相应的项(系数和度对)构建多项式。
	-print string						interpret string and print to console
										解释字符串并打印到控制台
	-process arguments	 				process the image with a custom image filter
										使用自定义图像过滤器处理图像
	-separate							separate an image channel into a grayscale image
										将图像通道分割为灰度图像
	-smush geometry						smush an image sequence together
										将图像序列涂抹在一起
	-write filename						write images to this file
										将图像写入此文件

Image Stack Operators:

	-clone indexes			 		clone an image
									克隆映像
	-delete indexes					delete the image from the image sequence
									从图像序列中删除图像
	-duplicate count,indexes		duplicate an image one or more times
									将图像复制一次或多次
	-insert index					insert last image into the image sequence
									将最后一个图像插入图像序列
	-reverse						reverse image sequence
									反转图像序列
	-swap indexes					swap two images in the image sequence
									交换图像序列中的两个图像

Miscellaneous Options:

	-debug events			display copious debugging information
							显示大量调试信息
	-distribute-cache 		port
							distributed pixel cache spanning one or more servers
							跨一个或多个服务器的端口分布式像素缓存
	-help					print program options
							打印程序选项
	-list type				print a list of supported option arguments
							打印支持的选项参数列表
	-log format				format of debugging information
							调试信息的格式
	-version				print version information
							打印版本信息

By default, the image format of `file' -- ---------- -- --- ----- -------	
-- ------- - ---------- ----- ------- 
------- --- -------- ---- -- ----- format ---- --- - ----- (---- --------) -- 
------- --- ----- type -- --- -------- ------ (---- --------)-	
------- 'file' -- '-' for -------- ----- -- -------