#!/bin/bash
if [ $# -ne 2 ]; then
echo "Usage: $0 ORIGINAL_IMAGE NEW_IMAGE" >&2
exit 1
fi
src=$1
dst=$2
convert "$src" \( +clone -threshold -1 -virtual-pixel black -spread 10 -blur 0x3 -threshold 50% -spread 1 -blur 0x.7 \) +matte -compose Copy_Opacity -composite "$dst"
convert "$dst" \( +clone -background black -shadow 80x3+5+5 \) +swap -background none -mosaic +repage "$dst"
[/bash]
盗用 shutter 插件的,
