Module: Paperclip::Commands::ImageMagick

Extended by:
ImageMagick
Included in:
ImageMagick
Defined in:
lib/paperclip/commands/imagemagick.rb,
lib/paperclip/commands/imagemagick/geometry_parser.rb,
lib/paperclip/commands/imagemagick/version_detector.rb

Defined Under Namespace

Modules: GeometryParser, VersionDetector

Instance Method Summary collapse

Instance Method Details

#convert(arguments = nil, interpolation_values = {}, local_options = {}) ⇒ Object



8
9
10
# File 'lib/paperclip/commands/imagemagick.rb', line 8

def convert(arguments = nil, interpolation_values = {}, local_options = {})
  run(convert_command, imagemagick_path, arguments, interpolation_values, local_options)
end

#identify(arguments = nil, interpolation_values = {}, local_options = {}) ⇒ Object



12
13
14
# File 'lib/paperclip/commands/imagemagick.rb', line 12

def identify(arguments = nil, interpolation_values = {}, local_options = {})
  run(identify_command, imagemagick_path, arguments, interpolation_values, local_options)
end

#imagemagick_pathObject



16
17
18
# File 'lib/paperclip/commands/imagemagick.rb', line 16

def imagemagick_path
  Paperclip.options[:imagemagick_path]
end