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
319 B

var assert = require('assert');
module.exports = function (_, dir, finish, gm) {
if (!gm.integration)
return finish();
gm(dir + '/original.gif')
.format(function (err, type) {
if (err) return finish(err);
assert.equal(type, 'GIF');
assert.equal(this.data.format, 'GIF');
finish();
})
}