智慧教务系统 PHP-NiuCloud框架开发
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
liutong 872eab7de8 首次提交 1 year ago
..
src 首次提交 1 year ago
tests 首次提交 1 year ago
.gitignore 首次提交 1 year ago
.travis.yml 首次提交 1 year ago
LICENSE 首次提交 1 year ago
README.md 首次提交 1 year ago
composer.json 首次提交 1 year ago
phpunit.xml 首次提交 1 year ago

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