Merge branch 'MDL-51779_28' of https://github.com/Syxton/moodle into MOODLE_28_STABLE
This commit is contained in:
@@ -445,7 +445,7 @@ class pdf extends \FPDI {
|
||||
$filename = \escapeshellarg($this->filename);
|
||||
$pagenoinc = \escapeshellarg($pageno + 1);
|
||||
$command = "$gsexec -q -sDEVICE=png16m -dSAFER -dBATCH -dNOPAUSE -r$imageres -dFirstPage=$pagenoinc -dLastPage=$pagenoinc ".
|
||||
"-dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sOutputFile=$imagefilearg $filename";
|
||||
"-dDOINTERPOLATE -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sOutputFile=$imagefilearg $filename";
|
||||
|
||||
$output = null;
|
||||
$result = exec($command, $output);
|
||||
|
||||
Reference in New Issue
Block a user