image-stream

0.0.1 • Public • Published

Writable stream for DOM images

So you can just pipe to image. Mostly for node-webkit, but may work with browserify.

Example

var ImageStream = require('image-stream');
var fs = require('fs');
var window = getWindowSomehow();
 
var stream = new ImageStream(window.document.getElementById('image'));
 
fs.createReadStream(__dirname + '/octocat.png').pipe(stream);

Readme

Keywords

none

Package Sidebar

Install

npm i image-stream

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • vkurchatkin