gifsickle

0.1.1 • Public • Published

gifsickle

a node wrapper for gifsicle and gifsicle-bin.

specifically useful for setting delays for individual frames.

install

npm install gifsickle

usage

var gifsickle = require('gifsickle');
var frames = require('glob').sync('*.gif').map(function(path) {
  return { path: path }
});
 
// set the delay of 0.5s to first frame
frames[0].delay = 50;
 
gifsickle('foo.gif', [
  frames: frames,
  delay: 15,
}, function() {
  console.log('gif is ready');
});

/gifsickle/

    Package Sidebar

    Install

    npm i gifsickle

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • rane