wintersmith-pngquant

pngqaunt plugin for wintersmith

npm install wintersmith-pngquant
6 downloads in the last week
13 downloads in the last month

wintersmith-pngquant

pngquant plugin for Wintersmith

Installing

Install using wintersmith plugin install pngquant

or install globally/locally using npm

npm install [-g] wintersmith-pngquant

and add wintersmith-pngquant to your config.json

{
  "plugins": [
    "wintersmith-pngquant"
  ]
}

Options

Add a pngquant object to your wintersmith config, defaults shown here, see http://pngquant.org/ for more info.

Speed defaults to 11 (fastest) when previewing and 1 (best quality) when building.

{
  "pngquant": {
    "ncolors": 256,
    "speed": 1/11,
    "quality": null,
    "nofs": false
  }
}
npm loves you