Skip to content

Instantly share code, notes, and snippets.

@djones
Last active March 22, 2017 14:43
Show Gist options
  • Save djones/ed2d5b5a45e89b3f9de2974b535958f6 to your computer and use it in GitHub Desktop.
Save djones/ed2d5b5a45e89b3f9de2974b535958f6 to your computer and use it in GitHub Desktop.
Applying Guetzli encoding to JPG images in bulk
brew install guetzli
cd your/images/directory
for file in **/**.jpg; do guetzli "$file" "$file"; printf '.'; done
@djones
Copy link
Author

djones commented Mar 22, 2017

Note processing just one large image could take 10+ minutes to finish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment