diff --git a/Library/Think/Image/Driver/Imagick.php b/Library/Think/Image/Driver/Imagick.php index 22ec589a..358ba669 100644 --- a/Library/Think/Image/Driver/Imagick.php +++ b/Library/Think/Image/Driver/Imagick.php @@ -184,7 +184,7 @@ class Imagick{ //调整大小 if($w != $width || $h != $height){ - $img->sampleImage($width, $height); + $img->scaleImage($width, $height); } //设置缓存尺寸