gpslab/image-meta
Composer 安装命令:
composer require gpslab/image-meta
包简介
Library for get image meta data
README 文档
README
Library for get image meta data
Installation
Pretty simple with Composer, run:
composer require gpslab/image-meta
Usage
$path = ''; // path to image $analyzer = new ImageMetaAnalyzer(); $data = $analyzer->analyze($path); // access from getters echo $data->width(); echo $data->height(); echo $data->mime(); // access as array $array = $data->toArray(); echo $array['width']; echo $array['height']; echo $array['mime'];
License
This bundle is under the MIT license. See the complete license in the file: LICENSE
统计信息
- 总下载量: 480
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-16