Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

zopflipng-bin

6.0.1 • Public • Published

zopflipng-bin Build Status

zopfli Compression Algorithm is a new zlib (gzip, deflate) compatible compressor that takes more time (~100x slower), but compresses around 5% better than zlib and better than any other zlib-compatible compressor

You probably want imagemin-zopfli instead.

Install

$ npm install zopflipng-bin

Usage

const {execFile} = require('child_process');
const zopflipng = require('zopflipng-bin');
 
execFile(zopflipng, ['-m', '--lossy_8bit', 'input.png', 'outout.png'], () => {
    console.log('Image minified!');
});

CLI

$ npm install --global zopflipng-bin
$ zopflipng --help

License

MIT © Imagemin

Install

npm i zopflipng-bin

DownloadsWeekly Downloads

9,657

Version

6.0.1

License

MIT

Unpacked Size

200 kB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar