Awesome
Color Thief - A Fast Java Implementation
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
Credits and license
Thanks
- Lokesh Dhakar - for the original Color Thief JavaScript version, available at http://lokeshdhakar.com/projects/color-thief/
License
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.