From 09274280bcbffef28f6ab517e1b9655b6ec35f98 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 9 May 2024 00:42:39 -0400 Subject: [PATCH] Lol --- commands/edit-image/old-photo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/edit-image/old-photo.js b/commands/edit-image/old-photo.js index 1fcad83b..81496dc8 100644 --- a/commands/edit-image/old-photo.js +++ b/commands/edit-image/old-photo.js @@ -33,6 +33,7 @@ module.exports = class OldPhotoCommand extends Command { const data = await loadImage(body); const canvas = createCanvas(data.width, data.height); const ctx = canvas.getContext('2d'); + ctx.drawImage(data); vignette(ctx, data.width, data.height); sepia(ctx, 0, 0, data.width, data.height); grain(ctx, 0, 0, data.width, data.height);