ImageMagick - 为图像添加白色透明叠加层

时间:2015-11-04 14:10:20

标签: image imagemagick command-line-interface mask

我需要拍摄正常的照片:

enter image description here

并添加一个白色透明覆盖层,使其看起来像这样:

enter image description here

不要注意转换后图像上的文字或它是原稿的裁剪版本。我需要简单地将顶部转换为完全相同的图像,只需使用白色透明覆盖层。我也需要它作为cli命令。

1 个答案:

答案 0 :(得分:10)

更新了答案

这更容易

convert house.jpg -fill white -colorize 80%  result.png

原始答案

这样的事可能......

convert house.jpg \( +clone -fill white -colorize 80% \) -composite result.png

enter image description here