我需要使用 imagemagick 为图像添加内部阴影
convertor
您可以在 Imagemagick 中通过创建白色图像,然后对其进行模糊处理来做到这一点。然后乘以输入。
Unix Imagemagick 6 语法:
输入:
convert barn.jpg \ \( +clone -fill white -colorize 100 -virtual-pixel black -blur 0x10 \) \ -compose multiply -composite barn_inner.jpg