Skip to content

Instantly share code, notes, and snippets.

@rafaelrosafu
Last active July 18, 2017 15:21
Show Gist options
  • Save rafaelrosafu/6287452 to your computer and use it in GitHub Desktop.
Save rafaelrosafu/6287452 to your computer and use it in GitHub Desktop.
Optimize images
sudo apt-get install optipng jpegoptim
optipng -preserve -o 0 *.png
jpegoptim --verbose --strip-all --total --preserve *.jp*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment