From ddc72c0b8d85011a41e25736808551dfef6b2434 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 6 Mar 2021 15:50:23 -0500 Subject: [PATCH] Make devito faces bigger --- commands/edit-image/danny-devito.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/edit-image/danny-devito.js b/commands/edit-image/danny-devito.js index 7f6be889..3b0cb5cb 100644 --- a/commands/edit-image/danny-devito.js +++ b/commands/edit-image/danny-devito.js @@ -53,10 +53,10 @@ module.exports = class DannyDevitoCommand extends Command { const height = danny.height * ratio; ctx.drawImage( danny, - landmarks.contour_left1.x, - landmarks.contour_left1.y - (height / 2), - width, - height + landmarks.contour_left1.x - (width * 0.75), + landmarks.contour_left1.y - (height / 2) - (height * 0.75), + width * 1.5, + height * 1.5 ); } return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'danny-devito.png' }] });