|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 52%||Total: 170 ||All time: 8,633 This week: 307|
This class can create an image with color of another image dominant color.
It can take a given image and resizes it to a small size using ImageMagick extension to apply a gaussian filter during resizing and then use the quantize filter to reduce the colors and find out the dominant color.
The class can generate a new image using the dominant color and returns it as a data URL string for a GIF image with one pixel of that color.
Prize: One big elePHPant Plush Mascott
|Some applications need to display an image in a background that matches the most common color of the image.
This package can find the dominant color of an image and creates a new image in the GIF format with one pixel using that dominant color.
Creates a data-uri based on the image dominant color.
ImageMagick extension should be present.
$image_url = 'https://www.elephantnaturepark.org/wp-content/uploads/2016/06/Lek_20may2016_01_n.jpg';
$i = new ImageColor\ImageColor($image_url);
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.