pngout-bin

6.0.1 • Public • Published

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

Dependencies (1)

Dev Dependencies (5)

Package Sidebar

Install

npm i pngout-bin

Weekly Downloads

21,965

Version

6.0.1

License

MIT

Unpacked Size

4.73 kB

Total Files

9

Last publish

Collaborators

  • sindresorhus