From 6dc35b5e4766acc295bcc69b1e119bdddd43e13d Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 26 Feb 2020 15:46:03 -0700 Subject: poke bot more --- bot.js | 1 + 1 file changed, 1 insertion(+) 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 = '\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') { -- cgit v1.2.3