Skip to content

Instantly share code, notes, and snippets.

@rensjaspers
Created May 6, 2018 07:10
Show Gist options
  • Save rensjaspers/09201fbe3121fca775ff50cedfd89bf8 to your computer and use it in GitHub Desktop.
Save rensjaspers/09201fbe3121fca775ff50cedfd89bf8 to your computer and use it in GitHub Desktop.
Optimize images
find . -name "*.jpg" | xargs mogrify -strip -interlace Plane -sampling-factor 4:2:0 -resize '2073600@>' -quality 85%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment