philandi/imgspector

A PHP image analyzation tool

dev-master 2017-02-27 14:52 UTC

This package is not auto-updated.

Last update: 2024-04-13 23:30:59 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');