PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-08-02 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 983 This week: 1All time: 3,516 This week: 1,137Up
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: 31
All time rank: 164097 in India India
Week rank: 115 Up17 in India India Up

  • get_image_color_slice
  • result_of_get_image_color.png
  Files folder image Files  
File Role Description
Plain text file getImageColor Class PHP getImageColor

 Version Control Unique User Downloads Download Rankings  
 0%Total:983All time:3,516
 This week:1This week:1,137Up