Experimental method for automatically selecting a processor such as gm. Only works on *nix.
TODO: Write tests for this and figure out what platforms it supports
# File lib/mini_magick.rb, line 16 def choose_processor if `type -P mogrify`.size > 0 return elsif `type -P gm`.size > 0 self.processor = "gm" end end
# File lib/mini_magick.rb, line 24 def image_magick_version @@version ||= Gem::Version.create(`mogrify --version`.split(" ")[2].split("-").first) end
Generated with the Darkfish Rdoc Generator 2.