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