itgalaxy/bmp2image
最新稳定版本:2.0.0
Composer 安装命令:
composer require itgalaxy/bmp2image
包简介
Creates an image from a Bitmap
README 文档
README
bmp2image converts BMP to images (JPG, JPEG, PNG, GIF and etc) format.
Installation
Install with Composer
If you're using Composer to manage dependencies, you can add Requests with it.
composer require itgalaxy/bmp2image
or
{
"require": {
"itgalaxy/bmp2image": ">=1.0.0"
}
}
Install source from GitHub
To install the source code:
git clone git://github.com/itgalaxy/bmp2image.git
And include it in your scripts:
require_once '/path/to/bmp2image/Bmp2Image.php';
Install source from zip/tarball
Alternatively, you can fetch a tarball or zipball:
curl -L https://github.com/itgalaxy/bmp2image/tarball/master | tar xzv
or
wget https://github.com/itgalaxy/bmp2image/tarball/master -O - | tar xzv
Usage
<?php // This file is generated by Composer require_once 'vendor/autoload.php'; $jpg = \Itgalaxy\Bmp2Image::make('path/to/image.bmp'); imagejpeg($jpg, 'path/to/save/image.jpg'); imagedestroy($jpg);
Contribution
Don't hesitate to create a pull request. Every contribution is appreciated.
Changelog
License
统计信息
- 总下载量: 8.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-05