From 592516d8b020c19d7ba5eb32c6235511f365b59d Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 21 Feb 2020 20:16:21 +0100 Subject: [PATCH] Chop half the border height --- commands/images/poster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/images/poster.js b/commands/images/poster.js index f07f991..aa3bf69 100644 --- a/commands/images/poster.js +++ b/commands/images/poster.js @@ -129,7 +129,7 @@ class posterCommand extends Command { .write(output, function(err) { // Chop the top part of the image let img2 = gm(output); - img2.chop(0, 100) + img2.chop(0, BORDER_HEIGHT / 2) .write(output, function(err) { loadingmsg.delete(); if (err) {