Module: Phashion

Defined in:
lib/phashion.rb,
lib/phashion/version.rb

Defined Under Namespace

Classes: Image, TextHashPoint, TextMatch

Constant Summary collapse

VERSION =
'1.2.0'

Class Method Summary collapse

Class Method Details

.mh_hash_for(filename, alpha = 2.0, lvl = 1.0) ⇒ Object



47
48
49
# File 'lib/phashion.rb', line 47

def self.mh_hash_for(filename, alpha = 2.0, lvl = 1.0)
  _mh_hash_for(filename, alpha, lvl)
end

.so_fileObject



51
52
53
54
# File 'lib/phashion.rb', line 51

def self.so_file
  extname = RbConfig::CONFIG['DLEXT']
  File.join File.dirname(__FILE__), "phashion_ext.#{extname}"
end