dummyimage
v1.0.1
Published
Generate Dummy Image
Downloads
2
Readme
DummyImage
Generate Dummy Image.
Installation
NOTES: DummyImage uses Cairo with node-canvas. Unless previously installed you'll need Cairo.
$ npm install dummyimage
Usage
var DummyImage = require('dummyimage');
var dummyimage = new DummyImage({
dest: './images/',
format: 'png',
name: 'dummyimage',
text: 'Dummy Dummy!'
});
dummyimage.create(function() {
console.log('Done.');
});
CLI
$ node ./node_modules/.bin/dummyimage images/dummyimage.png