Sha256: 9b4e0869de25494ec7e0a1be27b4814528dbbc9d25b57fcc58d818459a0898a4

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

module Vips

    # Pick the algorithm vips uses to decide image "interestingness". This is 
    # used by {Image#smartcrop}, for example, to decide what parts of the image 
    # to keep. 
    #
    # * `:none` do nothing
    # * `:centre` just take the centre
    # * `:entropy` use an entropy measure
    # * `:attention` look for features likely to draw human attention

    class Interesting
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-vips-1.0.6 lib/vips/interesting.rb
ruby-vips-1.0.5 lib/vips/interesting.rb