Next Phenomenal Microbrewery
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

optipng-bin

5.1.0 • 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

install

npm i optipng-bin

Downloadsweekly downloads

409,793

version

5.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability