wintersmith-pngquant

1.0.2 • Public • Published

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
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i wintersmith-pngquant

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • jnordberg