1

我正在寻找一种使用 imagemagick 为图像应用水印和不透明蒙版的方法。

资源

在此处输入图像描述

结果

在此处输入图像描述

谢谢大家的阅读。

4

2 回答 2

3

Thanks emcconville for a nice solution but still it needs the rectangle of the image size. I've found a better solution that we don't need to specify rectangle of the image.

convert a.png -brightness-contrast -60x-50 -pointsize 120 -gravity center -draw "fill white text 0,0 'SOLD'" b.png

I hope this would be useful for someone.

于 2013-09-04T21:16:30.290 回答
2

这是 ImageMagick 非常基本且有趣的东西。文章“注释”中的示例和详细信息。当简单的注释和绘图工作时,不透明蒙版和水印可能会过大。

convert source.png \
    -fill "#0009" -draw 'rectangle 0,0,450,335' \
    -fill white -pointsize 64 -gravity Center -annotate 0 "SOLD" \
    sold.png
于 2013-09-03T18:37:18.520 回答