Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(335)

Issue 8836047: More options to make-regtest-pngs.sh, use GNU parallel for faster conversion (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by dak
Modified:
10 years, 9 months ago
Reviewers:
lemzwerg
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

More options to make-regtest-pngs.sh, use GNU parallel for faster conversion Also rearranges the options slightly. -p is now used for GNU parallel instead of rendering PDFs via Cairo which is now done with -c. The whole kaboodle is now: Make PNG files from regtests Usage: ./make-regtest-pngs.sh -j CPUs -o/-n where -j specifies the number of parallel processes to run (normally CPUs+1). e.g.: ./make-regtest-pngs.sh -j9 -p uses GNU parallel with the given job count in order to also parallelize the conversion of PDF files to bitmaps when using -g or -d. No attempt is made to parallelize the bitmap comparisons since their memory requirements may be prohibitive. -o means build an old regtest set - the PNGs go in the old-regtest-results directory -n means build a new regtest set - the PNGs go in the new-regtest-results directory -c uses PDF and the poppler library via pdftocairo for generating bitmaps, simulating the output for Evince and other previewers using poppler. pdftocairo may be contained in the poppler-utils package. -r can be used for specifying a rendering resolution. This defaults to 101 for poppler and 300 for Ghostscript from PDF. -g uses Ghostscript for rendering a bitmap version from the PDF, simulating the output from printing PDF files on a GNU system, so use a resolution appropriate for print. Antialiasing is not enabled. -d changes the Ghostscript device used for creating PNG files (usually png16m for direct PNG creation and pngmono for printer simulation)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -25 lines) Patch
M scripts/auxiliar/make-regtest-pngs.sh View 4 chunks +38 lines, -25 lines 0 comments Download

Messages

Total messages: 1
lemzwerg
11 years ago (2013-05-02 15:53:52 UTC) #1
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b