I want to write a drop shadow script, now I've drop the shadow successful.
Use the following command(it isn't written by me, I checkout from gscrot).
Code: Select all
convert "${FILE}" \( +clone -background gray -shadow 80x3+5+5 \) \
+swap -background none -mosaic +repage "${FILE}"
Code: Select all
convert -bordercolor 'rgba(255,255,255,0)' -border 10x10 test.png test_out.png