【发布时间】:2015-05-20 00:09:11
【问题描述】:
我想反转具有透明背景的图像,即来自
,透明背景
到
,透明的“我们”
在 ImageMagick 中,我们可以这样做
convert 1cut.png -channel a -negate +channel 1cut_nega.png
如http://www.imagemagick.org/discourse-server/viewtopic.php?t=18842中所述
GraphicsMagick 中的等效命令是什么?
如果我使用$ gm convert -channel opacity -negate +channel example/we.png output/we.png,我会得到一个白色的“We”而不是透明的“We”
【问题讨论】:
标签: imagemagick graphicsmagick