MDL-51779 assign: PDF annotate quality
Fixes the quality of pdf content when annotating.
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