mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-10-05 07:32:13 +00:00
set density to 100 if preview is created from pdf or ps file
This commit is contained in:
parent
05d6d9dca5
commit
f387327429
|
@ -103,7 +103,7 @@ class SeedDMS_Preview_Previewer {
|
|||
break;
|
||||
case "application/pdf":
|
||||
case "application/postscript":
|
||||
$cmd = 'convert -density 18 -resize '.$width.'x '.$file.'[0] '.$target;
|
||||
$cmd = 'convert -density 100 -resize '.$width.'x '.$file.'[0] '.$target;
|
||||
break;
|
||||
case "text/plain":
|
||||
$cmd = 'convert -resize '.$width.'x '.$file.'[0] '.$target;
|
||||
|
|
Loading…
Reference in New Issue
Block a user