Commit afea0e72 authored by RenWal's avatar RenWal
Browse files

Fix arguments for ghostscript invocation

parent 9209bce8
......@@ -78,7 +78,7 @@ def runGhostscript(dir_name, base_name, pdf_path, format = 'jpeg', resolution =
command = [
'gs',
f'-SDEVICE={format}',
f'-r{resolution}x{resolution}s',
f'-r{resolution}x{resolution}',
f'-sPAPERSIZE={size}',
f'-sOutputFile={dir_name}/{base_name}_%04d.jpg',
'-dNOPAUSE',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment