Determine dominant image color
Posted: Mon Oct 17, 2005 11:02 am
Hi,
I currently have a plan to build a stock photo library that is going to be an addon to our internal intranet.
One feature i would like to have is...when the image is uploaded...the image is somehow analyzed, and the dominant color is somehow determined and stored in the database.
Then, users can search for "bluey" images or "yellowy" images etc.
I have seen this done on a stock photo site, but i have no idea if this is possible with PHP and GD, and even how to go about it.
Any help appreciated.
I currently have a plan to build a stock photo library that is going to be an addon to our internal intranet.
One feature i would like to have is...when the image is uploaded...the image is somehow analyzed, and the dominant color is somehow determined and stored in the database.
Then, users can search for "bluey" images or "yellowy" images etc.
I have seen this done on a stock photo site, but i have no idea if this is possible with PHP and GD, and even how to go about it.
Any help appreciated.


