Created
October 20, 2013 21:46
-
-
Save jclif/7075721 to your computer and use it in GitHub Desktop.
Takes all png files in current directory, uses image magick to shadow them, and puts the shadowed copy into a directory called shadow (which must already exist)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *.png; do convert $i '(' +clone -background black -shadow 90x5+5+5 ')' +swap -background none -layers merge +repage shadow/$i.png; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment