0.3.1-0 • Published 10 years ago

jesusify v0.3.1-0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

Jesusify is a module that takes the path to an image and outputs that same image with a picture of Jesus Christ and the words "Jesus loves you" overtop of it. It also allows one to pass a callback function that takes two parameters: an error (null if no errors occurred) and a JIMP image object (null if an error occurred). Here is an example of its use:

var jesusify = require('jesusify');
var path = require('path');

//Take in ./images/martinLuther.jpeg, jesusify it, write it out to
//./martinLuther.png and to ./martinLuther.jpeg.
jesusify.jesusify(path.join(__dirname, "images/martinLuther.jpeg"),
				path.join(__dirname, "martinLuther.png"),
	function (err, image) {
		if (err) {
			console.error("Received error: \"" + err + "\"");
			return;
		}
		else {
			image.write("martinLuther.jpeg");
		}
	}
);

Important updates for version 0.3.0:

Fixed bug where callbacks were firing before images were done writing.

0.3.1-0

10 years ago

0.3.0

10 years ago

0.2.2-0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago