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.
|
|
|
var assert = require('assert')
|
|
|
|
module.exports = function (gm, dir, finish, GM) {
|
|
|
|
var m = gm
|
|
.setFormat('png');
|
|
|
|
assert.equal('png', m._outputFormat);
|
|
|
|
if (!GM.integration)
|
|
return finish();
|
|
|
|
m
|
|
.write(dir + '/setformat', function setformat (err) {
|
|
finish(err);
|
|
});
|
|
}
|
|
|