Library of simple image manipulations - replicating the behaviour of morandi-js.
Install liblcms2-utils to provide the jpgicc command used by Morandi::ProfiledPixbuf.
Add this line to your application's Gemfile:
gem 'morandi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install morandi
Morandi.process(source, options, target_path)
For the detailed documentation of options see lib/morandi.rb
- Fork it ( http://github.com/livelink/morandi-rb/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Development happens inside a docker image, with a Makefile provided as a simple CLI.
makeAbove launches guard, which automatically runs tests when any file changes.
allAdd the focus: true annotation to an example or describe block.
Useful, for example, to run rubocop:
make shellNote
The image builds and the gem works on ARM platform, but a few specs fail with tiny rendering output mismatches.
CI uses AMD64 and is a source of truth for the specs