mirror of https://gitgud.io/fatchan/gm
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.
15 lines
315 B
15 lines
315 B
11 years ago
|
var assert = require('assert')
|
||
|
|
||
|
module.exports = function (gm, dir, finish, GM) {
|
||
|
|
||
|
if (gm._options.imageMagick) return finish();
|
||
|
|
||
|
if (!GM.integration)
|
||
|
return finish();
|
||
|
|
||
|
gm
|
||
|
.morph([dir + '/morpher.jpg', dir + '/original.png'], dir + '/morphed2.jpg', function morph (err) {
|
||
|
finish(err);
|
||
|
});
|
||
|
}
|