programeriss/pix2svg
Composer 安装命令:
composer require programeriss/pix2svg
包简介
Convert image to the SVG format
README 文档
README
This package provides an easy to work with class to convert image's to svg.
Installation
The package can be installed via composer:
composer require programeriss/pix2svg
Usage
Converting a image to the svg is easy.
$pix2svg = new Programeriss\Pix2svg\Pix2svg(); $svg = $pix2svg->convert($pathToImage);
If the path you pass to convert has the extensions jpg, jpeg, gif, or png the image will be returned in the svg format.
Otherwise the output will be a error.
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email programeriss@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-23