Skip to content

Instantly share code, notes, and snippets.

@iberianpig
Last active May 21, 2016 21:59
Show Gist options
  • Save iberianpig/007d7d9d2b38b86fc831 to your computer and use it in GitHub Desktop.
Save iberianpig/007d7d9d2b38b86fc831 to your computer and use it in GitHub Desktop.
image_optim option
BASE = "image_optim"
BASE_OPT = "--allow-lossy --recursive --no-progress"
JPEG_OPT = "--jpegrecompress-quality 0 --jpegoptim-max-quality 60"
PNG_OPT = "--no-pngout --no-pngcrush --no-optipng --no-advpng --pngquant-quality 20-40"
OTHER_OPT = "--gifsicle-level 3 --gifsicle-careful true --no-svgo"
image_optim ./* --allow-lossy --recursive --no-progress --jpegrecompress-quality 0 --jpegoptim-max-quality 60 --no-pngout --no-pngcrush --no-optipng --no-advpng --pngquant-quality 20-40 --gifsicle-level 3 --gifsicle-careful true --no-svgo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment