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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user