PHP Classes

Get Image Color: Get the most used colors in an image

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 1,064 All time: 3,488 This week: 455Up
Version License PHP version Categories
getimagecolor 1.0GNU General Publi...5.0PHP 5, Graphics
Description 

Author

This class can be used to get the most used colors in an image.

It can open an image file in JPEG format and traverse its pixels to find which are the most used colors. It can skip a given number of analyzed pixels according to the granularity parameter.

The class returns an array of top most used colors up to a given limit of number or colors. The colors are returned in RGB hexadecimal format.

Picture of Kalpesh Gamit
  Performance   Level  
Name: Kalpesh Gamit <contact>
Classes: 3 packages by
Country: India India
Age: 40
All time rank: 158291 in India India
Week rank: 178 Up21 in India India Up

Screenshots (2)  
  • get_image_color_slice
  • result_of_get_image_color.png
  Files folder image Files (3)  
File Role Description
Plain text file getImageColor Class PHP getImageColor

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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,064
This week:0
All time:3,488
This week:455Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2759