gifsicle bin-wrapper that makes it seamlessly available as a local dependency
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Fix compile on install (#100) Oct 30, 2018
test Move test files to the test folder. Dec 9, 2018
vendor Update gifsicle.tar.gz to v1.91. Dec 9, 2018
.editorconfig Meta tweaks Sep 21, 2017
.gitattributes ES2015ify and require Node.js 4 (#73) Mar 31, 2017
.gitignore Fix compile on install (#100) Oct 30, 2018
.npmrc Meta tweaks Sep 21, 2017
.travis.yml Require Node.js 6 Jul 17, 2018
cli.js Meta tweaks Sep 21, 2017
index.js Export it directly Apr 20, 2015
license Meta tweaks Sep 21, 2017
package.json 4.0.1 Oct 30, 2018
readme.md Meta tweaks Sep 21, 2017

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