|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2017-03-16 (2 months ago) || 52%||Total: 150 This week: 1||All time: 8,334 This week: 624|
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.