@dinamomx/optipng-bin

4.0.2 • Public • Published

optipng-bin Build Status

OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information

You probably want imagemin-optipng instead.

Install

$ npm install --save optipng-bin

Usage

const {execFile} = require('child_process');
const optipng = require('optipng-bin');

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

CLI

$ npm install --global optipng-bin
$ optipng --help

License

MIT © Imagemin

Package Sidebar

Install

npm i @dinamomx/optipng-bin

Weekly Downloads

0

Version

4.0.2

License

MIT

Unpacked Size

4.9 kB

Total Files

7

Last publish

Collaborators

  • cesasol