ImageMagick 图像设置

2018-07-25 14:23 更新

命令行中的一个设置项,可以作用于读入的图像,图像操作,或者将会被输出的图像。一个设置项被设置后会一直发挥作用除非它被重置或命令执行完毕。图像设置命令包括有:

-adjoin -affine -alpha -antialias -authenticate
-background -bias -black -point -compensation
-blue -primary -bordercolor -caption -channel
-comment -compress -debug -define -delay -density
-depth -display -dispose -dither -encoding -endian
-extract -family -fill -filter -font -format
-fuzz -geometry -gravity -green -primary -interlace
-intent -interpolate -label -limit -linewidth -log
-loop -mask -mattecolor -monitor -orient -page
-pointsize -preview -quality -quiet -red -primary
-region -render -repage -sampling -factor -scene
-seed -size -stretch -stroke -strokewidth -style
-texture -tile -transparent-color -treedepth -type
-undercolor -units -verbose -virtual-pixel -weight

下面例子中的 ‑channel 会被作用于每一个图像,就像我们说的那样,设置项会持续起作用。

$ convert -channel RGB wand.png wizard.png images.png


以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号