Method: Visdiff::Image#signature

Defined in:
lib/visdiff/image.rb

#signatureObject



15
16
17
18
19
# File 'lib/visdiff/image.rb', line 15

def signature
  @signature ||= IO.popen(["identify", "-format", "%#", '--', fullpath]) do |f|
    f.read
  end.strip
end