node package manager


Optimize PNG and JPG images with optipng & jpegtran on --optimize

Optimize PNG and JPG images on --optimize with brunch. It either uses jpegtran and optipng or node-smushit to get the best out of your images in your /public folder.

You can install jpegtran and optipng with homebrew

brew install optipng jpeg
    smushit: false # if false it use jpegtran and optipng, if set to true it will use smushit 
    path: 'images' # your image path within your public folder 

Add "imageoptmizer-brunch": "0.0.4" to package.json of your brunch app.

Pick a plugin version that corresponds to your minor (y) brunch version.

If you want to use git version of plugin, add "imageoptmizer-brunch": "git+ssh://"