Module: ImageMagick::Identify::Command

Defined in:
lib/imagemagick/identify/command.rb

Class Method Summary collapse

Class Method Details

.execute(file_path) ⇒ Object



9
10
11
12
# File 'lib/imagemagick/identify/command.rb', line 9

def self.execute(file_path)
  command = "#{path_to_identify} -verbose -unique #{file_path.inspect}"
  `#{command}`
end