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 16: def choose_processor 17: if `type -P mogrify`.size > 0 18: return 19: elsif `type -P gm`.size > 0 20: self.processor = "gm" 21: end 22: end
# File lib/mini_magick.rb, line 24 24: def image_magick_version 25: @@version ||= Gem::Version.create(`mogrify --version`.split(" ")[2].split("-").first) 26: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.