Download the PHP package dneustadt/average-color-matrix without Composer
On this page you can find all versions of the php package dneustadt/average-color-matrix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package average-color-matrix
AverageColorMatrix
Generates a matrix in desired resolution of average colors of an image. Can also output result as SVG Markup.
Demo
Usage
Create an Instance of AverageColorMatrix passing the absolute path to the image.
Call get method of said instance with the x, y resolution. The third
argument expects a boolean (default: false). If true the output
will be SVG markup.
Returns a nested array of rows and columns with RGB and hex values. Alternatively returns SVG markup ready to use.
Example
Result:
License
MIT
All versions of average-color-matrix with dependencies
PHP Build Version
Package Version
No informations.
The package dneustadt/average-color-matrix contains the following files
Loading the files please wait ...