Created
April 18, 2016 14:31
-
-
Save db0company/92c56d09c955bea1b3ef044a9539f14c to your computer and use it in GitHub Desktop.
Sukutomo: Add the white halo around background and resize them to use on the homepage
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
# download all image in current folder, copy hover in /tmp/hover | |
for f in *\ *; do mv "$f" "${f// /_}"; done # remove space in filenames | |
mkdir small | |
mkdir large | |
i=0; for img in *.png; do composite -gravity Center /tmp/hover.png $img small/background$i.png; i=$((i+1)); done | |
cd small | |
for img in *.png; do convert $img -resize 1500x1500 ../large/$img; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment