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.

21 lines
327 B

13 years ago
var assert = require('assert')
13 years ago
module.exports = function (gm, dir, finish, GM) {
13 years ago
var m = gm
.flip();
var args = m.args();
assert.equal('convert', args[0]);
assert.equal('-flip', args[2]);
if (!GM.integration)
return finish();
m
13 years ago
.write(dir + '/flip.png', function flip (err) {
finish(err);
});
}