gifsicle-stream
v1.0.0
Published
The gifsicle command line utility as a readable/writable stream.
Downloads
16,613
Maintainers
Readme
node-gifsicle-stream
The gifsicle command line utility as a readable/writable stream.
Based heavily on node-jpegtran
which is written by papandreou.
Installation
$ npm install gifsicle-stream
Usage
The constructor accepts an optional array of command line options for the gifsicle
binary:
var Gifsicle = require('gifsicle-stream'),
gifProcessor = new Gifsicle(['-w', '-O3']);
readStream.pipe(gifProcessor).pipe(writeStream);