This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

node-pngquant-bin

0.1.0 • Public • Published

node-pngquant-bin

pngquant Node.js wrapper that makes it seamlessly available on Windows and Mac OS X. Most of the ideas are taken from node-optipng-bin module.

Getting Started

Install the module with: npm install node-pngquant-bin

var pngquantPath = require('node-pngquant-bin').path;

Documentation

(Coming soon)

Examples

var pngquantPath = require('node-pngquant-bin').path,
    execFile = require('child_process').execFile;
 
execFile(pngquantPath, ['256', '--', 'imagefile.png'], function() {
    // image is optimized and renamed to imagefile-fs8.png
});

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

  • 0.1.0: Initial release without Linux support

License

Copyright (c) 2013 Matthias Zaunseder Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i node-pngquant-bin

Weekly Downloads

6

Version

0.1.0

License

none

Last publish

Collaborators

  • zauni