diff options
Diffstat (limited to 'src/preproc/html')
-rw-r--r-- | src/preproc/html/pre-html.cpp | 4 |
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) |