生成缩略图
public static makeThumb ( string $image, string $thumbName, null $type = null, integer $width = 100, integer $height = 50, boolean $isAutoFix = true ) : false | string | ||
$image | string | 要缩略的图 |
$thumbName | string | 生成的缩略图的路径 |
$type | null | 要生成的图片类型 默认跟原图一样 |
$width | integer | 缩略图的宽度 |
$height | integer | 缩略图的高度 |
$isAutoFix | boolean | 是否按比例缩放 |
Результат | false | string |