Created
August 4, 2014 00:59
-
-
Save dchapkine/7d3ea18da5ffd0227d96 to your computer and use it in GitHub Desktop.
Mogrify snippets
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
1/ Resize to X width, keep aspect ratio | |
#!/bin/bash | |
mogrify -resize 2000x *.jpg | |
2/ Resize to Y height, keep aspect ratio | |
#!/bin/bash | |
mogrify -resize x2000 *.jpg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment