lml-main
Version:
This is now a mono repository published into many standalone packages.
39 lines (23 loc) • 835 B
Markdown
> 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.
```
$ npm install --save gifsicle
```
```js
const {execFile} = require('child_process');
const gifsicle = require('gifsicle');
execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], err => {
console.log('Image minified!');
});
```
```
$ npm install --global gifsicle
```
```
$ gifsicle --help
```
MIT © [imagemin](https://github.com/imagemin)