| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Total: 177 | All time: 8,752 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();
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| 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. |
| 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.