RubyGems.org

croptoelie

0.5.0

Crops images based on entropy: leaving the most interesting part intact. Don't expect this to be a replacement for human cropping, it is an algorythm and not an extremely smart one at that :). Best results achieved in combination with scaling: the cropping is then only used to square the image, cutting off the least interesting part. The trimming simply chops off te edge that is least interesting, and continues doing so, untill it reached the requested size.

installgem install croptoelie
Authors

Bèr Kessels

7,352 total downloads 1,017 for this version
Owners

88e7411a7b987cc316bf98aa258fb405

Licenses

MIT

Gemfile
gem 'croptoelie', '~> 0.5.0'
Versions
  1. 0.5.0 November 20, 2012 (6.09 MB)
  2. 0.4.1 November 18, 2012 (6.09 MB)
  3. 0.4.0 April 18, 2011 (5.38 MB)
  4. 0.3.1 April 6, 2011 (5.35 MB)
  5. 0.3.0 April 6, 2011 (5.35 MB)
Show all versions (6 total)