Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Image Optimise Commands - pngquant jpegoptim
JPEGS
find uploads/ -type f -iname '*.jpg' -exec jpegoptim --strip-all {} +
PNG
find uploads/ -iname "*.png" -exec pngquant --force --quality=40-100 --skip-if-larger --strip --verbose \{} --output \{} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.