pngout-bin

v6.0.0
pngout wrapper that makes it seamlessly available as a local dependency
imagemin compress image img minify optimize png pngout

pngout-bin GitHub Actions Status

pngout optimizes the size of PNG files losslessly

You probably want imagemin-pngout instead.

Install

$ npm install --save pngout-bin

Usage

import {execFile} from 'node:child_process';
import pngout from 'pngout-bin';

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

CLI

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

License

MIT © Imagemin

Metadata

  • MIT
  • ^12.20.0 || ^14.13.1 || >=16.0.0
  • Shogo Sensui
  • released 10/23/2021

Downloads