Grabs the dominant color or a representative color palette from an image.
A very fast Java port of Lokesh Dhakar's JavaScript version (http://lokeshdhakar.com/projects/color-thief/).
This version is more than 40 times faster than the Java port at https://github.com/soualid/java-colorthief. Average times to extract the palette of the sample images (on a Core i7-2670QM):
- https://github.com/soualid/java-colorthief: 29.84 ms
- This version: 0.712 ms
- Lokesh Dhakar - for the original Color Thief JavaScript version, available at http://lokeshdhakar.com/projects/color-thief/
Licensed under the Creative Commons Attribution 2.5 License
- Free for use in both personal and commercial projects.
- Attribution requires leaving author name, author homepage link, and the license info intact.