I'd like to add a blurred border arround an image and add a watermark in the lower right corner.
My approach was:
Code: Select all
convert \( \
input.jpg \
\( +clone -blur 10x4 -fill black -colorize 25% \) \
\( +clone -gamma 0 -shave 40x40 -bordercolor white -border 40x40 \) -composite \
\( +clone -gamma 0 -shave 40x40 -bordercolor lightgray -border 1x1 -bordercolor black -border 39x39 \) -compose screen -composite \
\) \
overlay.png -gravity SouthEast -compose copy -composite \
output.jpg
Does anyone know what the problem may be?
And, another problem.. I'd like the 1px border between the blurred border and the normal central image to be transparent.. I thought if I use screen as compose method and set the bordercolor to lightgray this would work.. but it didn't.
Thanks a lot,
Kira