Color Thief, script for grabbing the color palette from an image
lokeshdhakar.com
lokeshdhakar.com
Go to istockphoto.com - this is a site where you can buy images for use in any type of publication, advertising etc.
The opportunity I see would be to offer to write software which indexes their entire collection by color.
Then when someone wants to buy an image for a publication they could put their colors in and have istockphoto only show them images which fit the color palette.
This would save designers a ton of time.
I can use this to check that helmet image they are using, and grab the color palette and then use those colors to drive their color scheme.
Brilliant! Thanks!
convert image.jpg -resize 400x400 -format %c -dither None -quantize LAB -colors 8 -depth 8 histogram:info:- | sort -rI put together a tiny tool like the posted link for playing with clusterfck:
http://dylanfm.github.com/Ladderfck/
Kind of handy for getting a feel for what you can do - e.g. trying different distance metrics and linkages. It too uses canvas.
and take your hipster language with you
ImageMagick does the actual color extraction, then I wrote some code to score those colors against a palette for use in a "search by color" system.
https://market.android.com/details?id=uk.co.opeso.android.co...
[edit: and if not, please don't do that.]
So probably it doesn't work for cross-domain images.