From 6d8fa81fc02b2e3ee837c1dc9024efcd8f43cdb8 Mon Sep 17 00:00:00 2001 From: Alberto Hernandez Date: Sat, 10 May 2014 19:49:25 +0200 Subject: [PATCH] added trim to imagemagick --- mathmode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mathmode.js b/mathmode.js index 68b0c83..06042ce 100644 --- a/mathmode.js +++ b/mathmode.js @@ -46,6 +46,7 @@ module.exports = function(expr, options) { var convert_path = options.imagemagick_path || "convert"; var convert = spawn(convert_path, [ + "-trim", "-density", "" + size, "-quality", "100", "pdf:-",