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.
 

19 lines
405 B

var assert = require('assert')
module.exports = function (gm, dir, finish, GM) {
if (!GM.integration)
return finish();
gm
.res(function getterres (err, res) {
if (err) return finish(err);
if (gm._options.imageMagick) {
assert.equal('72x72', res);
} else {
assert.equal('72x72 pixels/inch', res);
}
assert.equal(res, this.data.Resolution)
finish();
});
}