elfsundae/intervention-image-filters
Composer 安装命令:
composer require elfsundae/intervention-image-filters
包简介
Intervention Image Filters
README 文档
README
Filters for intervention/image .
Installation
$ composer require elfsundae/intervention-image-filters
Usage
use Intervention\Image\ImageManager as Image; // use Intervention\Image\Facades\Image; // For Laravel use ElfSundae\Image\Filters\Fit; use ElfSundae\Image\Filters\Resize; $image = Image::make($file) ->filter(new Resize(300, 400)) ->save($path); $image->filter(new Fit(320)); $image->filter(new Fit(320, 400, 'top-left')); $image->filter(new Fit(320)->upsize(false)); $image->filter(new Resize(300, 600, $aspectRatio = false)); $image->filter(new Resize(300, 600)->aspectRatio(false)->upsize(false));
License
This package is open-sourced software licensed under the MIT License.
统计信息
- 总下载量: 72
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-10