@weus/pngquant-bin

3.1.2 • Public • Published

pngquant-bin Build Status

pngquant is a PNG compressor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format

You probably want imagemin-pngquant instead.

Install

$ npm install pngquant-bin

Usage

const execFile = require('child_process').execFile;
const pngquant = require('pngquant-bin');

execFile(pngquant, ['-o', 'output.png', 'input.png'], err => {
	console.log('Image minified!');
});

CLI

$ npm install --global pngquant-bin
$ pngquant --help

License

MIT © Imagemin

/@weus/pngquant-bin/

    Package Sidebar

    Install

    npm i @weus/pngquant-bin

    Weekly Downloads

    2

    Version

    3.1.2

    License

    MIT

    Last publish

    Collaborators

    • zzy_enetf
    • linder0209
    • johnsonqz
    • tedyhy
    • lizhiyang
    • duooduo
    • webpansy
    • senyawang
    • princetoad
    • txy920
    • hopefuture
    • joy-web