advpng-bin

7.0.0 • Public • Published

advpng-bin GitHub Actions Status

The main purpose of this utility is to recompress png files to get the smallest possible size

You probably want imagemin-advpng instead.

Install

$ npm install --save advpng-bin

Usage

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

execFile(advpng, ['--recompress', '--shrink-extra', 'image.png'], error => {
	console.log('Image minified!');
});

CLI

$ npm install --global advpng-bin
$ advpng --help

/advpng-bin/

    Package Sidebar

    Install

    npm i advpng-bin

    Weekly Downloads

    459

    Version

    7.0.0

    License

    MIT

    Unpacked Size

    1.2 MB

    Total Files

    8

    Last publish

    Collaborators

    • nothingismagick
    • sindresorhus
    • kevva
    • 1000ch
    • xhmikosr
    • shinnn