From 3af83f811dedd34f1a71691fc79cdf15004b1cf8 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 30 May 2019 16:21:13 +0200 Subject: [PATCH] use cropbox for poster previews --- pandora/document/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/document/utils.py b/pandora/document/utils.py index 3df53197b..c579f0dcc 100644 --- a/pandora/document/utils.py +++ b/pandora/document/utils.py @@ -26,6 +26,7 @@ def extract_pdfpage(pdf, image, page): page = str(page) cmd = [ 'pdftocairo', + '-cropbox', '-jpeg', '-f', page, '-l', page, '-singlefile',