Fix Avatar Edits

This commit is contained in:
Daniel Odendahl Jr
2017-05-02 00:46:51 +00:00
parent 27ff1305cf
commit b91cabbc16
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class BeautifulCommand extends Command {
images.push(Jimp.read(avatarURL));
images.push(Jimp.read('https://i.imgur.com/71qLwPf.png'));
const [avatar, grunkle] = await Promise.all(images);
avatar.resize(117, 145);
avatar.resize(117, 135);
grunkle.composite(avatar, 341, 35);
grunkle.composite(avatar, 342, 300);
grunkle.getBuffer(Jimp.MIME_PNG, (err, buff) => {
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class TriggeredCommand extends Command {
images.push(Jimp.read('https://i.imgur.com/tF9yF62.png'));
const [avatar, triggered] = await Promise.all(images);
avatar.resize(320, 320);
triggered.blur(10);
avatar.blur(5);
blank.composite(avatar, 0, 0);
blank.composite(triggered, 0, 0);
blank.getBuffer(Jimp.MIME_PNG, (err, buff) => {