Download .zip |
Info | Documentation | View files (3) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-03-16 (11 days ago) | Not yet rated by the users | Total: Not yet counted | Not yet ranked |
Version | License | PHP version | Categories | |||
image-color 1.0 | MIT/X Consortium ... | 5 | PHP 5, Graphics |
Description | Author | |
This class can create an image with color of another image dominant color. |
Creates a data-uri based on the image dominant color.
ImageMagick extension should be present.
require './vendor/autoload.php';
$image_url = 'https://www.elephantnaturepark.org/wp-content/uploads/2016/06/Lek_20may2016_01_n.jpg';
$i = new ImageColor\ImageColor($image_url);
echo $i->get_data_uri();
Files |
File | Role | Description | ||
---|---|---|---|---|
src (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Version Control | Unique User Downloads | |||||||
100% |
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.