Last active
March 22, 2017 14:43
-
-
Save djones/ed2d5b5a45e89b3f9de2974b535958f6 to your computer and use it in GitHub Desktop.
Applying Guetzli encoding to JPG images in bulk
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
brew install guetzli | |
cd your/images/directory | |
for file in **/**.jpg; do guetzli "$file" "$file"; printf '.'; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note processing just one large image could take 10+ minutes to finish.