徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
yangsai c3106436ae 20141015 5 months ago
..
lib 20141015 5 months ago
vendor/source 20141015 5 months ago
cli.js 20141015 5 months ago
index.js 20141015 5 months ago
license 20141015 5 months ago
package.json 20141015 5 months ago
readme.md 20141015 5 months ago

readme.md

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.

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