Package Exports
- gifsicle
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gifsicle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gifsicle-bin 
gifsicle 1.71 Node.js wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows.
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.
Install
$ npm install --save gifsicle
Usage
var execFile = require('child_process').execFile;
var gifsicle = require('gifsicle').path;
execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], function (err) {
if (err) {
throw err;
}
console.log('Image minified');
});
CLI
$ npm install --global gifsicle
$ gifsicle --help
Development
Instructions for updating the binaries:
OS X and Linux
$ npm install
Windows
- Download the Windows files 32/64-bit on a Windows machine
- Run the downloaded file to extract
- Go to the
bin
folder at the destination and copygifsicle.exe
to thegifsicle/vendor/
folder
License
Everything excluding the binaries licensed under the BSD license and copyright Google.
gifsicle licensed under the GNU General Public License, Version 2.