diff options
author | Melody Horn <melody@boringcactus.com> | 2020-02-26 15:46:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 15:46:03 -0700 |
commit | 6dc35b5e4766acc295bcc69b1e119bdddd43e13d (patch) | |
tree | 2b3b291878c90d9d782dd9bf81a6053e2e102041 | |
parent | 6d84983c0db9490378dbc0322e1dcb257d526f96 (diff) | |
download | crabravebot-6dc35b5e4766acc295bcc69b1e119bdddd43e13d.tar.gz crabravebot-6dc35b5e4766acc295bcc69b1e119bdddd43e13d.zip |
poke bot more
-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') { |