Re:Color Thief, script for grabbing the color palette from a...
by GBKS on Saturday January 07, 2012 @01:16PM
(#3437618)
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
Re:Color Thief, script for grabbing the color palette from a...
by tikhonj on Saturday January 07, 2012 @03:36PM
(#3438013)
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.
Re:Color Thief, script for grabbing the color palette from a...
by wtvanhest on Saturday January 07, 2012 @12:50PM
(#3437536)
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.
Re:Color Thief, script for grabbing the color palette from a...
by petercooper on Saturday January 07, 2012 @03:03PM
(#3437935)
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.
Re:Color Thief, script for grabbing the color palette from a...
by jakejake on Saturday January 07, 2012 @03:04PM
(#3437936)
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.
Re:Color Thief, script for grabbing the color palette from a...
by sparshgupta on Saturday January 07, 2012 @10:50AM
(#3437220)
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.
Re:Color Thief, script for grabbing the color palette from a...
by Mavyrk on Saturday January 07, 2012 @03:12PM
(#3437956)
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.
Re:Color Thief, script for grabbing the color palette from a...
by aaronblohowiak on Saturday January 07, 2012 @03:15PM
(#3437963)
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.
Re:Color Thief, script for grabbing the color palette from a...
by andrewcooke on Saturday January 07, 2012 @12:38PM
(#3437499)
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)?
http://colorslice.dtrejo.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!
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.
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.
and take your hipster language with you
https://market.android.com/details?id=uk.co.opeso.android.co...
[edit: and if not, please don't do that.]
https://github.com/lokesh/color-thief/blob/master/js/color-t...
So probably it doesn't work for cross-domain images.