Miss any of our Open RFC calls?Watch the recordings here! »

imagemin-pngout

5.0.0 • Public • Published

imagemin-pngout Build Status

pngout imagemin plugin

Install

$ npm install imagemin-pngout

Usage

const imagemin = require('imagemin');
const imageminPngout = require('imagemin-pngout');
 
(async () => {
    await imagemin(['images/*.png'], {
        destination: 'build/images',
        plugins: [
            imageminPngout()
        ]
    });
 
    console.log('Images optimized');
})();

API

imageminPngout([options])(buffer)

Returns a Promise<Buffer>.

options

Type: Object

strategy

Type: number
Default: 0

Select a strategy level between 0 and 4:

0. Extreme 1. Intense 2. Longest match 3. Huffman only 4. Uncompressed

License

MIT © Imagemin

Install

npm i imagemin-pngout

DownloadsWeekly Downloads

538

Version

5.0.0

License

MIT

Unpacked Size

3.47 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar