A somewhat updated fork from GraphicsMagick for node
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

17 lines
338 B

var assert = require('assert')
module.exports = function (gm, dir, finish, GM) {
if (gm._options.imageMagick) return finish();
if (!GM.integration)
return finish();
// todo, improve this api to allow multiple images
gm
.morph(dir + '/morpher.jpg', dir + '/morphed.jpg', function morph (err) {
finish(err);
});
}