diff rgToolFactory.py @ 64:d4fc5eb21a2e draft

Uploaded
author fubar
date Mon, 10 Feb 2014 20:32:57 -0500
parents c0fa3dde02d9
children
line wrap: on
line diff
--- a/rgToolFactory.py	Mon Feb 10 19:04:23 2014 -0500
+++ b/rgToolFactory.py	Mon Feb 10 20:32:57 2014 -0500
@@ -374,7 +374,7 @@
         hlog = os.path.join(self.opts.output_dir,"compress_%s.txt" % os.path.basename(inpdf))
         sto = open(hlog,'w')
         outpdf = '%s_compressed' % inpdf
-        cl = ["gs", "-sDEVICE=pdfwrite", "-dNOPAUSE", "-dBATCH","-dPDFSETTINGS=/printer", "-sOutputFile=%s" % outpdf,inpdf]
+        cl = ["gs", "-sDEVICE=pdfwrite", "-dNOPAUSE", "-dUseCIEColor", "-dBATCH","-dPDFSETTINGS=/printer", "-sOutputFile=%s" % outpdf,inpdf]
         x = subprocess.Popen(cl,stdout=sto,stderr=sto,cwd=self.opts.output_dir,env=our_env)
         retval1 = x.wait()
         sto.close()