Last active
May 7, 2016 22:13
-
-
Save kimsible/47e3b168bcce5aaafc305781f41dca60 to your computer and use it in GitHub Desktop.
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
# auto-crop (someones can be badly cropped, ajust fuzz) | |
for x in `ls *.JPG`; \ | |
do `convert -trim +repage -fuzz 40% \ | |
$x w_$x;`; \ | |
done | |
# or | |
mogrify -trim +repage -fuzz 40% *.JPG output/*.jpg | |
# rotate | |
mogrify -rotate 90 *.JPG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment