use cropbox for poster previews
This commit is contained in:
parent
ad6d5dd850
commit
3af83f811d
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ def extract_pdfpage(pdf, image, page):
|
||||||
page = str(page)
|
page = str(page)
|
||||||
cmd = [
|
cmd = [
|
||||||
'pdftocairo',
|
'pdftocairo',
|
||||||
|
'-cropbox',
|
||||||
'-jpeg',
|
'-jpeg',
|
||||||
'-f', page, '-l', page,
|
'-f', page, '-l', page,
|
||||||
'-singlefile',
|
'-singlefile',
|
||||||
|
|
Loading…
Reference in a new issue