pngout-bin

pngout bin-wrapper that makes it seamlessly available as a local dependency

Showing:

Popularity

Downloads/wk

6.8K

GitHub Stars

13

Maintenance

Last Commit

7mos ago

Contributors

1

Package

Dependencies

2

Size (min+gzip)

2.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

pngout-bin Build Status

pngout optimizes the size of PNG files losslessly

You probably want imagemin-pngout instead.

Install

$ npm install --save pngout-bin

Usage

const {execFile} = require('child_process');
const pngout = require('pngout-bin');

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

CLI

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

License

MIT © Imagemin

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100