gifsicle
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/gifsicle package

7.0.1 • Public • Published

gifsicle-bin GitHub Actions 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

import {execFile} from 'node:child_process';
import gifsicle from 'gifsicle';

execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], error => {
	console.log('Image minified!');
});

CLI

$ npm install --global gifsicle
$ gifsicle --help

Package Sidebar

Install

npm i gifsicle

Weekly Downloads

399,888

Version

7.0.1

License

MIT

Unpacked Size

484 kB

Total Files

8

Last publish

Collaborators

  • sindresorhus