aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.js b/bot.js
index a3f23eb..5c17efd 100644
--- a/bot.js
+++ b/bot.js
@@ -186,6 +186,7 @@ module.exports = {
}
const svg = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n' + dom.serialize();
fs.writeFileSync(path + '.svg', svg);
+ console.log('convert', '-background', 'none', path + '.svg', path + '.png');
child_process.spawnSync('convert', ['-background', 'none', path + '.svg', path + '.png'], {stdio: ['inherit', 'inherit', 'inherit']});
}
if (type === 'mp4') {