|
[Rivet-svn] r3050 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Apr 8 12:24:42 BST 2011
Author: fsiegert Date: Fri Apr 8 12:24:41 2011 New Revision: 3050 Log: make-plots: Change png output size (density) to 85 instead of 120. Modified: trunk/bin/make-plots Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Fri Apr 8 09:04:20 2011 (r3049) +++ trunk/bin/make-plots Fri Apr 8 12:24:41 2011 (r3050) @@ -1825,7 +1825,7 @@ if testconvert.wait() != 0: convertavailable = False if convertavailable: - pngcmd = ["convert", "-density", "120", "-flatten", "%s.ps" % filename, "%s.png" % filename] + pngcmd = ["convert", "-density", "85", "-flatten", "%s.ps" % filename, "%s.png" % filename] logging.debug(" ".join(pngcmd)) pngproc = subprocess.Popen(pngcmd, stdout=subprocess.PIPE, cwd=tempdir) pngproc.wait() @@ -1843,7 +1843,7 @@ f.write(cnvproc.communicate()[0]) f.close() logging.debug(os.listdir(tempdir)) - pngcmd = ["convert", "-density", "120", "-flatten", "%s.pdf" % filename, "%s.png" % filename] + pngcmd = ["convert", "-density", "85", "-flatten", "%s.pdf" % filename, "%s.png" % filename] logging.debug(" ".join(pngcmd)) pngproc = subprocess.Popen(pngcmd, stdout=subprocess.PIPE, cwd=tempdir) pngproc.wait() @@ -1855,7 +1855,7 @@ f = open(os.path.join(tempdir, "%s.eps" % filename), "w") f.write(cnvproc.communicate()[0]) f.close() - pngcmd = ["convert", "-density", "120", "-flatten", "%s.eps" % filename, "%s.png" % filename] + pngcmd = ["convert", "-density", "85", "-flatten", "%s.eps" % filename, "%s.png" % filename] logging.debug(" ".join(pngcmd)) pngproc = subprocess.Popen(pngcmd, stdout=subprocess.PIPE, cwd=tempdir) pngproc.wait()
More information about the Rivet-svn mailing list |