set density to 100 if preview is created from pdf or ps file

This commit is contained in:
Uwe Steinmann 2014-05-28 14:58:26 +02:00
parent 05d6d9dca5
commit f387327429

View File

@ -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;