From e9141f5334bc2c4b7f10849c47e83593c184e752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BA=A6=E5=BD=93=E8=8B=97=E5=84=BF?= Date: Tue, 16 Apr 2013 10:56:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=BC=A9=E7=95=A5=E5=9B=BE?= =?UTF-8?q?=E7=94=9F=E6=88=90=E6=96=B9=E6=B3=95=EF=BC=8C=E7=94=9F=E6=88=90?= =?UTF-8?q?=E6=9B=B4=E9=AB=98=E8=B4=A8=E9=87=8F=E7=9A=84=E7=BC=A9=E7=95=A5?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Think/Image/Driver/Imagick.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } //设置缓存尺寸