mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Hide the Ghostscript progress dialog on Windows
This commit is contained in:
parent
da4440c1cb
commit
4dc37df152
|
@ -135,6 +135,8 @@ def Ghostscript(tile, size, fp, scale=1):
|
|||
if not gs_windows_binary:
|
||||
raise WindowsError('Unable to locate Ghostscript on paths')
|
||||
command[0] = gs_windows_binary
|
||||
# Hide the progress dialog
|
||||
command.append("-dNoCancel")
|
||||
|
||||
# push data through ghostscript
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user