UNPKG

twreporter-react

Version:

React-Redux site for The Reporter Foundation in Taiwan

39 lines (23 loc) 849 B
# gifsicle-bin [![Build Status](http://img.shields.io/travis/imagemin/gifsicle-bin.svg?style=flat)](http://travis-ci.org/imagemin/gifsicle-bin) > 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 ```js var execFile = require('child_process').execFile; var gifsicle = require('gifsicle'); execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], function (err) { console.log('Image minified!'); }); ``` ## CLI ``` $ npm install --global gifsicle ``` ``` $ gifsicle --help ``` ## License MIT © [imagemin](https://github.com/imagemin)