www.lightcourse.com/vendor/topthink/think-image
Lee 56b25ea84c 头部颜色替换 2022-10-24 11:17:43 +08:00
..
src 头部颜色替换 2022-10-24 11:17:43 +08:00
tests 头部颜色替换 2022-10-24 11:17:43 +08:00
.gitignore 头部颜色替换 2022-10-24 11:17:43 +08:00
.travis.yml 头部颜色替换 2022-10-24 11:17:43 +08:00
LICENSE 头部颜色替换 2022-10-24 11:17:43 +08:00
README.md 头部颜色替换 2022-10-24 11:17:43 +08:00
composer.json 头部颜色替换 2022-10-24 11:17:43 +08:00
phpunit.xml 头部颜色替换 2022-10-24 11:17:43 +08:00

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