# File lib/mini_magick/image/info.rb, line 73 def resolution(unit = nil) output = identify do |b| b.units unit if unit b.format "%x %y" end output.split(" ").map(&:to_i) end