Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
kellishaver's Recent Snippets
- All /
« Prev 1 Next »
Takes an image (path or url) and extracts the 7 most common colors and returns their hex values.
0
977
posted 12 years ago by kellishaver
Checks to make sure the file is a valid image file, checks max file size, and directory write permissions, requires 'fileutils' gem.
2
974
posted 12 years ago by kellishaver