pai-cthulhu/feuerimageeditor
Composer 安装命令:
composer require pai-cthulhu/feuerimageeditor
包简介
Feuer Image Editor is a PHP image handling and manipulation library, made to fill the gaps between Imagick and GD, with focus on greater text handling (like text boxes, which is absent on similar libraries).
关键字:
README 文档
README
Feuer Image Editor is a PHP image handling and manipulation library, made to fill the gaps between Imagick and GD, with focus on greater text handling (like text boxes, which is absent on similar libraries)
Install
Via Composer
$ composer require pai-cthulhu/feuerimageeditor
Usage
Simple thumbnail example
$img = Image::open('/path/to/file.jpg'); $img->thumb('/path/to/thumb.jpg');
Textbox
$img = Image::open('/path/to/file.jpg'); $tb = new Textbox(); $tb->setPos(0, 120) ->setSize(400, 150) ->setBGColor('#f28d1a') ->setFont('/path/to/font.ttf', 32) ->setColor('#ffffff') ->setText('Hello World!') ->setAlignment(Align::CENTER, Align::MIDDLE); $img->addLayer($tb); $img->save('/path/to/save/file.jpg');
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email william.jvenancio@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 157
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-04