|
|
@ -247,7 +247,7 @@ |
|
|
|
|
|
|
|
$quality = $config['thumb_quality'] * 10; |
|
|
|
|
|
|
|
if(shell_exec("convert -flatten -filter Point -resize {$this->width}x{$this->height} -quality {$quality} " . escapeshellarg($this->src . '[0]') . " " . escapeshellarg($this->temp))) |
|
|
|
if(shell_exec("convert -flatten -antialias -filter Point -scale {$this->width}x{$this->height} -quality {$quality} " . escapeshellarg($this->src . '[0]') . " " . escapeshellarg($this->temp))) |
|
|
|
error('Failed to resize image!'); |
|
|
|
} |
|
|
|
} |
|
|
|