Graphics: Get Image Color
Kalpesh Gamit (contact me)
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.
Click here for detailed information about this class on phpclasses.org