RubyGems Navigation menu

croptoelie 0.2.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. It offers two methods, scanning and trimming: with scanning the whole image is placed in an array then evaluated: very slow and memory-gobbling. The trimming simply chops off te edge that is least interesting, and continues doing so, untill it reached the requested size.

Gemfile:
=

install:
=

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 19, 2011 (5.38 MB)
  4. 0.3.1 April 07, 2011 (5.35 MB)
  5. 0.3.0 April 07, 2011 (5.35 MB)
  6. 0.2.0 February 28, 2011 (5.35 MB)
Show all versions (6 total)

Runtime Dependencies (2):

rmagick >= 0
rmagick > 2.11.0

Development Dependencies (4):

bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0
shoulda >= 0

Owners:

Authors:

  • Bèr Kessels

SHA 256 checksum:

=

Total downloads 23,836

For this version 3,934

Version Released:

Licenses:

N/A

Required Ruby Version: None

Links: