Instantly share code, notes, and snippets.

@ryanckulp /shadow
Last active Feb 23, 2017

Embed
What would you like to do?
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