diff options
-rw-r--r-- | bot.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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') { |