Kirin 93a3391a21 init 11 달 전
..
src 93a3391a21 init 11 달 전
tests 93a3391a21 init 11 달 전
.DS_Store 93a3391a21 init 11 달 전
.gitignore 93a3391a21 init 11 달 전
.travis.yml 93a3391a21 init 11 달 전
LICENSE 93a3391a21 init 11 달 전
README.md 93a3391a21 init 11 달 전
composer.json 93a3391a21 init 11 달 전
phpunit.xml 93a3391a21 init 11 달 전

README.md

The ThinkPHP5 Image Package

Build Status Coverage Status Downloads Releases Releases Downloads Packagist Status Packagist Downloads

安装

composer require topthink/think-image

使用

$image = \think\Image::open('./image.jpg');
或者
$image = \think\Image::open(request()->file('image'));


$image->crop(...)
    ->thumb(...)
    ->water(...)
    ->text(....)
    ->save(..);