-
-
Save tmeits/1357169 to your computer and use it in GitHub Desktop.
Reduce all JPEGs in folder to 500px wide and 75% quality using ImageMagick's mogrify
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
| #!/bin/bash | |
| mogrify -strip -type optimize -filter Cubic -resize 500x -quality 75% *.jpg |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On most modern Unix-likes you can use ImageMagick:
mogrify -filter Cubic -resize 600x -unsharp 2.0x0.75+0.5+0.0 -quality 85 -format jpg +profile "" ./.jpg
I'm sure Irfanview or one of its ilk will let you do it somehow as well.