PHP Classes

Notable PHP package: PHP Dominant Color

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 204

Last month viewers: 1

Categories: Notable Packages

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.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP Dominant Color is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Create image with color of another dominant color

Here follows in more detail what it does:

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.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)