dream 050bfac24d 1 vor 8 Monaten
..
src 050bfac24d 1 vor 8 Monaten
tests 050bfac24d 1 vor 8 Monaten
.gitignore 050bfac24d 1 vor 8 Monaten
.travis.yml 050bfac24d 1 vor 8 Monaten
LICENSE 050bfac24d 1 vor 8 Monaten
README.md 050bfac24d 1 vor 8 Monaten
composer.json 050bfac24d 1 vor 8 Monaten
phpunit.xml 050bfac24d 1 vor 8 Monaten

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(..);