Created
December 7, 2016 11:42
-
-
Save indatawetrust/cb9284f7bdea82bff0c5429ef42a43b3 to your computer and use it in GitHub Desktop.
resize and white background
This file contains hidden or 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
resize(){ | |
for f in *.jpg; do | |
mogrify $f -resize "275x275" -gravity center -background white -extent 275x275 $f | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment