Ghostscript: do raster output with -dSAFER

-dSAFER does not work when rendering PDF/A, because that needs to load
the ICC file, and -dSAFER prevents access to external files.
This commit is contained in:
James R. Barlow
2016-07-27 00:54:40 -07:00
parent 514efa36fc
commit 636d1903b3
+1
View File
@@ -14,6 +14,7 @@ def rasterize_pdf(input_file, output_file, xres, yres, raster_device, log,
args_gs = [
get_program('gs'),
'-dQUIET',
'-dSAFER',
'-dBATCH',
'-dNOPAUSE',
'-sDEVICE=%s' % raster_device,