mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 05:52:48 +08:00
更改缩略图生成方法,生成更高质量的缩略图
This commit is contained in:
@@ -184,7 +184,7 @@ class Imagick{
|
||||
|
||||
//调整大小
|
||||
if($w != $width || $h != $height){
|
||||
$img->sampleImage($width, $height);
|
||||
$img->scaleImage($width, $height);
|
||||
}
|
||||
|
||||
//设置缓存尺寸
|
||||
|
||||
Reference in New Issue
Block a user