@porky-prince/pngout-bin

    5.0.0 • Public • Published

    pngout-bin Build Status

    pngout optimizes the size of PNG files losslessly

    You probably want imagemin-pngout instead.

    use https://npm.taobao.org/mirrors/pngquant-bin/ as downlaod source

    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

    Install

    npm i @porky-prince/pngout-bin

    DownloadsWeekly Downloads

    0

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    4.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • porky-prince