Skip to content

gifsicle bin-wrapper that makes it seamlessly available as a local dependency

License

Notifications You must be signed in to change notification settings

imagemin/gifsicle-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bcb5153 · Nov 20, 2021
Oct 22, 2021
Oct 23, 2021
Oct 23, 2021
Oct 27, 2021
Sep 21, 2017
Mar 31, 2017
Oct 30, 2018
Sep 21, 2017
Oct 23, 2021
Oct 22, 2021
Oct 22, 2021
Nov 20, 2021
Nov 20, 2021
Oct 22, 2021

Repository files navigation

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