image-to-canvas
v1.0.1
Published
Pass an HTMLImageElement receive a Canvas back
Downloads
6
Readme
image-to-canvas
Pass an HTMLImageElement receive a Canvas back
Usage
var imageToCanvas = require('image-to-canvas');
var image = new Image();
image.src = 'some uri';
imageToCanvas(image, function(err, canvas) {
});
License
MIT, see LICENSE.md for details.