Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
ocrfeeder
Commits
afea0e72
Commit
afea0e72
authored
Mar 13, 2022
by
RenWal
Browse files
Fix arguments for ghostscript invocation
parent
9209bce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ocrfeeder/util/lib.py
View file @
afea0e72
...
...
@@ -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'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment