PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,063 All time: 3,484 This week: 310Up
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

Screenshots  
  • 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:1,063
This week:0
All time:3,484
This week:310Up