philandi / imgspector
A PHP image analyzation tool
dev-master
2017-02-27 14:52 UTC
Requires
- php: >=5.6.0
- phpunit/phpunit: ~5.7
This package is not auto-updated.
Last update: 2025-02-02 03:16:48 UTC
README
PHP Tool for analyzing pixels of images (eg. RGB, HSL, ...)
Installation
Recommended installation is via Composer.
composer require philandi/imgspector
Getting started
Analyzing images is simple. Just create an instance of an image with a file path.
use Philandi\ImgSpector\Image; $img = new Image('/path/to/file.png'); // or $img = Image::createFromPath('/path/to/file.png');