Skip to content

Instantly share code, notes, and snippets.

@ryanckulp
Last active February 23, 2017 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanckulp/7cb280f90b92c358cf36e8f55dd6b06e to your computer and use it in GitHub Desktop.
Save ryanckulp/7cb280f90b92c358cf36e8f55dd6b06e to your computer and use it in GitHub Desktop.
my final code, which has a lighter grey shadow
#!/bin/bash
convert "$1" \
\( -clone 0 -background grey -colorize 40% -shadow 80x3+10+10 \) \
\( -clone 0 -background grey -colorize 40% -shadow 80x3-5-5 \) \
-reverse -background none -layers merge +repage "shadow-$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment