Very nice. I would expect a provision to upload (or add URL of) an image and test it on the demo page before downloading it and using it on my website.
what does it mean when the colours get bigger as i mouse over them? is something else meant to happen? i guess that should mean they are clickable, or that something else is changing, but i don't see anything else change and nothing happens when i click. is something broken (chrome latest stable, linux)?
I'm not a programmer, but I see an opportunity here:
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.
Sorry in advance as I'm not trying to make you feel stupid but.. I used to use that feature a lot before they were acquired by Getty (and their prices got so ridiculous I stopped using them.) So at least six years ago.
I built a similar tool for this purpose recently. It uses Canvas, but falls back to Flash if Canvas is not supported. Here's an example - hover and click the image - http://www.imagecolorpalette.com/image/40
That's just the highlight color. Assuming you're using Chrome, it's pretty eager about highlighting random stuff; other browsers may be similar. Try selecting some text.
This could produce an interesting and possibly strange image viewer if you use it to control the color scheme of the page. For example, you upload an image and the css of the page itself updates to be complimentary to the photo.
It would be interesting to see if you could use a system like this to automagically derive background colors for image display, picking muted complimentary colors to make the dominant color in an image "pop", so to speak.
You can do this by representing the colors into HSV and then modifying the hue by 180%, desaturating them and then adjusting the brightness (v). Most color libraries will let you deal in RGB(A) or HSV so this is pretty straightforward to DIY.
42 comments
[ 2.5 ms ] story [ 100 ms ] threadSo probably it doesn't work for cross-domain images.
[edit: and if not, please don't do that.]
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.
http://colorslice.dtrejo.com/
https://market.android.com/details?id=uk.co.opeso.android.co...
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.
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!
I 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.
https://github.com/lokesh/color-thief/blob/master/js/color-t...