【问题标题】:Change color of region ImageMagick更改区域 ImageMagick 的颜色
【发布时间】:2019-03-23 15:35:15
【问题描述】:

我想更改下面的颜色区域,但它不起作用。我做错了什么?

只有 -negate 似乎可以做一些事情,但我想将区域更改为颜色 #64F733。

convert input.png -region '444x294+530+85' -negate out.png

convert input.png -region '444x294+530+85' -fill '#64F733' out.png

谢谢

【问题讨论】:

    标签: image-processing imagemagick image-manipulation


    【解决方案1】:

    你需要在设置“-fill”颜色后对其进行“-colorize”。

    convert input.png -region '444x294+530+85' -fill '#64F733' -colorize 100 out.png
    

    【讨论】:

    • @GerCas 如果它有效,您应该考虑通过单击计票旁边的勾号/复选标记来接受它作为您的答案,这样每个人都知道它有效,并且 GeeMack 因提供正确的答案而被认为是有动力的帮助其他人......
    猜你喜欢
    • 2019-03-26
    • 2011-12-16
    • 1970-01-01
    • 1970-01-01
    • 2019-05-06
    • 2015-06-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多