Created
August 16, 2013 10:28
-
-
Save smellman/6248822 to your computer and use it in GitHub Desktop.
カレントディレクトリにあるJPEG画像を画像の中心から適当な大きさの正方形にする
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 *.jpg; do; convert -resize '350x' -resize 'x350<' -gravity 'center' -crop '350x350+0+0' $i thum/$i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment