Take an image read by http://npm.im/readimage and write into a gif.
Take an image in the format output by http://npm.im/readimage and write it to a gif.
var readimage = require"readimage"var writegif = require"writegif"var fs = require"fs"readimagefsreadFileSync"./examples/ravenwall.png"writegifimagefswriteFileSync"./ravenwall.gif" buffer
More examples are in the examples/ folder!
Write a buffer that represents a gif image generated from the imageBuffer.
The same as above, but
options can contain:
// 1: Best colors, worst performance// 200: default, worst colors, best performancequality: 10