Code: Select all
convert \
input.png \
\( +clone -background \#f0f -shadow 100x20 -channel A -level 0,70% +channel \) \
-delete 0 \
-shave 40 \
output.png
Code: Select all
convert \
input.png \
\( +clone -background \#f0f -shadow 100x20 -channel A -level 0,70% +channel \) \
-delete 0 \
-shave 40 \
output.png