node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

pngout-bin

pngout-bin Build Status

pngout optimizes the size of PNG files losslessly

Install

$ npm install --save pngout-bin

Usage

var execFile = require('child_process').execFile;
var pngout = require('pngout-bin');
 
execFile(pngout, ['input.png', 'output.png', '-s0', '-k0', '-f0'], function (err) {
    console.log('Image minified!');
});

CLI

$ npm install --global pngout-bin
$ pngout --help

License

MIT © imagemin