node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

gifsicle-stream-papandreou

node-gifsicle-stream

NPM Version Build Status

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);