Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
52% | Total: 177 | All time: 8,749 This week: 206 |
Version | License | PHP version | Categories | |||
image-color 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, Graphics |
Description | Author | |||
This class can create an image with color of another image dominant color. Innovation Award
|
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 (3) |
File | Role | Description | ||
---|---|---|---|---|
src (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.