Send ghostscript errors to stderr instead of stdout

According to ghostscript developers the parameter -sstdout should
be after -sOutputFile.

Bug: T50007
Change-Id: I13fd25ada571aee9eb793cd6e195a04eb86bce63
This commit is contained in:
Seb35 2019-10-22 16:32:17 +02:00
parent 1035a2a337
commit 3182cba012

View file

@ -196,6 +196,7 @@ class PdfHandler extends ImageHandler {
$wgPdfProcessor,
"-sDEVICE=jpeg",
"-sOutputFile=-",
"-sstdout=%stderr",
"-dFirstPage={$page}",
"-dLastPage={$page}",
"-dSAFER",