Hacker News new | ask | show | jobs
by mwittman 1193 days ago
imgopt - shell script for image optimizing — just a convenience / batch processing wrapper more or less. Nothing earth-shattering, just really handy for me over the past year.

https://gist.github.com/wittman/ab90f0eca5124233fa5163a32f89...

# Prerequisites: ImageOptim (desktop app) https://imageoptim.com/mac

## pngquant https://github.com/kornelski/pngquant

brew install pngquant

## oxipng https://github.com/shssoichiro/oxipng

brew install oxipng

## sips (utility provided by default in OS X)