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',