summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2021-07-26 23:53:51 +1000
committerG. Branden Robinson <g.branden.robinson@gmail.com>2021-07-27 10:24:57 +1000
commit13ceb5aceae63e7709dc4ad36085eb95ff2a6484 (patch)
tree907c44f0eed40c7c40a547614bac1254cf8f810f /src
parent98367a8408b36eb04d564ff6a4f5617544c61ee0 (diff)
downloadgroff-git-13ceb5aceae63e7709dc4ad36085eb95ff2a6484.tar.gz
[grohtml]: Reduce noise to standard error stream.
* src/preproc/html/pre-html.cpp (imageList::createImage): Fix apparent oversight: `EXE_EXT` was not being applied to the second of three commands being run in a pipeline (did Windows users notice?). Also issue (undocumented!) `-quiet` option to `pnmtopng` to shut up its commentary about counting colors.
Diffstat (limited to 'src')
-rw-r--r--src/preproc/html/pre-html.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/preproc/html/pre-html.cpp b/src/preproc/html/pre-html.cpp
index 4ff475c6b..7fb7c6489 100644
--- a/src/preproc/html/pre-html.cpp
+++ b/src/preproc/html/pre-html.cpp
@@ -1013,11 +1013,13 @@ void imageList::createImage(imageItem *i)
+ 1 + IMAGE_BORDER_PIXELS;
if (createPage(i->pageNo) == 0) {
s = make_message("pnmcut%s %d %d %d %d < %s "
- "| pnmcrop -quiet | pnmtopng%s %s > %s\n",
+ "| pnmcrop%s -quiet | pnmtopng%s -quiet %s"
+ "> %s\n",
EXE_EXT,
x1, y1, x2 - x1 + 1, y2 - y1 + 1,
imagePageName,
EXE_EXT,
+ EXE_EXT,
TRANSPARENT,
i->imageName);
if (s == NULL)