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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-08-02 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,019 All time: 3,503 This week: 584Up
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.

  Performance   Level  
Name: Kalpesh Gamit <contact>
Classes: 3 packages by
Country: India India
Age: 33
All time rank: 157391 in India India
Week rank: 1062 Up77 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  
This week:0
All time:3,503
This week:584Up