aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-02-26 15:46:03 -0700
committerGitHub <noreply@github.com>2020-02-26 15:46:03 -0700
commit6dc35b5e4766acc295bcc69b1e119bdddd43e13d (patch)
tree2b3b291878c90d9d782dd9bf81a6053e2e102041
parent6d84983c0db9490378dbc0322e1dcb257d526f96 (diff)
downloadcrabravebot-6dc35b5e4766acc295bcc69b1e119bdddd43e13d.tar.gz
crabravebot-6dc35b5e4766acc295bcc69b1e119bdddd43e13d.zip
poke bot more
-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') {