Skip to content

Instantly share code, notes, and snippets.

Created November 19, 2012 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4110666 to your computer and use it in GitHub Desktop.
Save anonymous/4110666 to your computer and use it in GitHub Desktop.
Rubyctaculous blog example
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