2.1.1 • Published 10 years ago

gif-reducer v2.1.1

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
10 years ago

GIF Reducer

Reduces the frames in an animated GIF

Usage

var GIFReducer = require('GIFReducer');
var gr = new GIFReducer();

gr.filePath = 'test/test.gif';

gr.reduce(function (err, buffer) {
  console.log(gr.frameCount); // Number of final frames
  console.log(buffer); // Final buffer
});

Notes

If your GIF is 15 frames or less, then it won't be reduced - it will just return back the orignial version.

Test

npm test
2.1.1

10 years ago

2.1.0

11 years ago

2.0.3

11 years ago

2.0.2

11 years ago

2.0.1

11 years ago

2.0.0

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago