mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
set density of preview created from tar.gz files to 100
This commit is contained in:
parent
f387327429
commit
dfb0ca25bd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user