Created
November 19, 2012 13:34
-
-
Save anonymous/4110666 to your computer and use it in GitHub Desktop.
Rubyctaculous blog example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pictaculous = Pictaculous::Client.new | |
colors = pictaculous.color_palette_for_image('path/to/my/image.jpg') | |
puts colors.inspect | |
=> ['99B791', '000000', '5D705F'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment