dimsog/php-geo-image
Composer 安装命令:
composer require dimsog/php-geo-image
包简介
A very small library to extract geo coordinates (longitude and latitude) from an image
README 文档
README
A very small library to extract geo coordinates (latitude and longitude ) from an image
Supported PHP versions:
- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 7.4
- PHP 8.0
- PHP 8.1
Install
composer require dimsog/php-geo-image
Example
use Dimsog\Geoimage\Coordinates; $coordinates = Coordinates::extract(__DIR__ . '/image.jpg'); // $coordinates is: // [ // 53.144123 (Latitude), // 35.369734 (Longitude) // ]
This method returns null, if the coordinates are not found
统计信息
- 总下载量: 75
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-16