Skip to content

Instantly share code, notes, and snippets.

@teeparham
Created February 26, 2018 23:36
Show Gist options
  • Save teeparham/1d2e62feb25f6b387e888473d20b7335 to your computer and use it in GitHub Desktop.
Save teeparham/1d2e62feb25f6b387e888473d20b7335 to your computer and use it in GitHub Desktop.
optimize jpeg images for web
# -colorspace Gray/sRGB
convert in.jpg -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG out.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment