Last active
July 28, 2017 06:06
-
-
Save subwiz/056549ff52084780ffe96231ca25ff1a to your computer and use it in GitHub Desktop.
Imagic Magick script to add border to images. To install Imagic Magick: `brew update && brew install imagemagick`.
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
#!/bin/sh | |
for i in "$@"; do | |
echo Processing "$i" '=>' "x-$i" | |
convert "$i" -shave 5x5 -bordercolor black -border 5 "x-$i" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment