set density of preview created from tar.gz files to 100

This commit is contained in:
Uwe Steinmann 2014-05-28 15:00:38 +02:00
parent f387327429
commit dfb0ca25bd

View File

@ -109,7 +109,7 @@ class SeedDMS_Preview_Previewer {
$cmd = 'convert -resize '.$width.'x '.$file.'[0] '.$target;
break;
case "application/x-compressed-tar":
$cmd = 'tar tzvf '.$file.' | convert -resize '.$width.'x text:-[0] '.$target;
$cmd = 'tar tzvf '.$file.' | convert -density 100 -resize '.$width.'x text:-[0] '.$target;
break;
}
if($cmd) {