From c45816b9290577ccb122aaae625c27a2ee2e72db Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 29 Jun 2020 13:30:07 -0400 Subject: [PATCH] Fix --- commands/edit-image/magik.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/magik.js b/commands/edit-image/magik.js index 3c030180..59638e35 100644 --- a/commands/edit-image/magik.js +++ b/commands/edit-image/magik.js @@ -32,7 +32,7 @@ module.exports = class MagikCommand extends Command { const magik = gm(body, 'magik.png'); magik.out('-liquid-rescale 75%x75%'); magik.implode(0.25); - magik.setFormat('png'); + magik.setFormat('jpeg'); const attachment = await this.toBuffer(magik); if (Buffer.byteLength(attachment) > 8e+6) return msg.reply('Resulting image was above 8 MB.'); return msg.say({ files: [{ attachment, name: 'magik.png' }] });