use cropbox for poster previews

This commit is contained in:
j 2019-05-30 16:21:13 +02:00
parent ad6d5dd850
commit 3af83f811d

View file

@ -26,6 +26,7 @@ def extract_pdfpage(pdf, image, page):
page = str(page)
cmd = [
'pdftocairo',
'-cropbox',
'-jpeg',
'-f', page, '-l', page,
'-singlefile',