3.2.1 - 普通 - Array
$image = new \Think\Image;
$image->open($img);
$image->thumb(250, 250)->save($img);
如果图像为jpg,如果使用的是gd库,save()方法不能改变图像质量
$fun = "image{$type}";
$fun($this->img, $imgname);
bool imagejpeg ( resource $image [, string $filename [, int $quality ]] )
第3个参数质量没法传进去,图片质量失真了。
官网这个写的真不周到