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:
= Copy to clipboard Copied!

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:

d3c06a6d52259e65192f340d7eb4ffc5a494e13ec509df00b0139950e7b062e8

Total downloads 23,254

For this version 3,832

Licenses:

N/A

Required Ruby Version: None

Links: