From bcd1fb7908f5c254abd7f0059fe67607fc359b5f Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 22 Jun 2017 20:31:14 +1000 Subject: [PATCH] Added dBATCH parameter to ghostscript command --- PIL/EpsImagePlugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PIL/EpsImagePlugin.py b/PIL/EpsImagePlugin.py index cce70880a..6f22308de 100644 --- a/PIL/EpsImagePlugin.py +++ b/PIL/EpsImagePlugin.py @@ -121,6 +121,7 @@ def Ghostscript(tile, size, fp, scale=1): "-q", # quiet mode "-g%dx%d" % size, # set output geometry (pixels) "-r%fx%f" % res, # set input DPI (dots per inch) + "-dBATCH", # exit after processing "-dNOPAUSE", # don't pause between pages, "-dSAFER", # safe mode "-sDEVICE=ppmraw", # ppm driver