tree: 0ec668d6cf78e7af8af636ed6df708a30b119c87 [path history] [tgz]
  1. lib/
  2. node_modules/
  3. vendor/
  4. cli.js
  5. index.js
  6. license
  7. package.json
  8. readme.md
node_modules/gifsicle/readme.md

gifsicle-bin Build Status

gifsicle manipulates GIF image files in many different ways. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency and much more.

You probably want imagemin-gifsicle instead.

Install

$ npm install gifsicle

Usage

const {execFile} = require('child_process');
const gifsicle = require('gifsicle');

execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], err => {
	console.log('Image minified!');
});

CLI

$ npm install --global gifsicle
$ gifsicle --help

License

MIT © Imagemin