diff --git a/commands/images/meme.js b/commands/images/meme.js index 9b6242e3..501aec3f 100644 --- a/commands/images/meme.js +++ b/commands/images/meme.js @@ -73,7 +73,6 @@ class memeCommand extends Command { const FONT_FILL = '#FFF'; const TEXT_POS = 'center'; const STROKE_COLOR = '#000'; - const STROKE_WEIGHT = 2; const PADDING = 40; img.format(function(err, format) { @@ -95,7 +94,7 @@ class memeCommand extends Command { // Write text on image using graphicsmagick img.font(FONT, FONT_SIZE) .fill(FONT_FILL) - .stroke(STROKE_COLOR, STROKE_WEIGHT) + .stroke(STROKE_COLOR) .drawText(0, TOP_POS, TOP_TEXT, TEXT_POS) .drawText(0, BOTTOM_POS, BOTTOM_TEXT, TEXT_POS) .write(output, function(err) { diff --git a/commands/images/poster.js b/commands/images/poster.js index 27021e0c..9cd221e9 100644 --- a/commands/images/poster.js +++ b/commands/images/poster.js @@ -121,7 +121,7 @@ class posterCommand extends Command { .borderColor('black') .border(BORDER_WIDTH,BORDER_HEIGHT) .fill(FONT_FILL) - .stroke(STROKE_COLOR, -2) + .stroke(STROKE_COLOR) .font(FONT, FONT_SIZE1) .drawText(0, TOP_POS, TOP_TEXT, TEXT_POS) .font(FONT, FONT_SIZE2)