diff --git a/commands/edit-image/old-photo.js b/commands/edit-image/old-photo.js index 81496dc8..2b43d575 100644 --- a/commands/edit-image/old-photo.js +++ b/commands/edit-image/old-photo.js @@ -33,7 +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); + ctx.drawImage(data, 0, 0); vignette(ctx, data.width, data.height); sepia(ctx, 0, 0, data.width, data.height); grain(ctx, 0, 0, data.width, data.height);