Profile
Achievement
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
1122
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
1122
posted 12 years ago by kellishaver