Sha256: eb6b17796867a6f2001dfe568a83c9fea9c9f852ca12d2bf15f4982ea717d14a
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
# Camalian [![Gem Version](https://badge.fury.io/rb/camalian.svg)](https://badge.fury.io/rb/camalian) ![Ruby](https://github.com/nazarhussain/camalian/workflows/build/badge.svg?branch=master) [![Maintainability](https://api.codeclimate.com/v1/badges/5495a2c122469d81b6c5/maintainability)](https://codeclimate.com/github/nazarhussain/camalian/maintainability) Ruby gem to extract color palettes from images and play with their saturation ## Installation Add this line to your application's Gemfile: gem 'camalian', '~> 0.1.0' And then execute: $ bundle Or install it yourself as: $ gem install camalian ## Usage image = Camalian::load('file_path') colors = image.prominent_colors(15) colors = colors.sort_similar_colors colors.light_colors(0, 40) ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
camalian-0.1.0 | README.md |