hrjy e8e630b068 commit vor 1 Jahr
..
src e8e630b068 commit vor 1 Jahr
tests e8e630b068 commit vor 1 Jahr
.gitignore e8e630b068 commit vor 1 Jahr
.travis.yml e8e630b068 commit vor 1 Jahr
LICENSE e8e630b068 commit vor 1 Jahr
README.md e8e630b068 commit vor 1 Jahr
composer.json e8e630b068 commit vor 1 Jahr
phpunit.xml e8e630b068 commit vor 1 Jahr

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