lib/bulldog/processor/image_magick.rb in bulldog-0.0.13 vs lib/bulldog/processor/image_magick.rb in bulldog-0.0.14

- old
+ new

@@ -30,10 +30,10 @@ # dimensions of the input file, see Attribute::Photo#dimensions. # def dimensions(&block) operate '-format', '%w %h' operate '-identify' do |styles, output| - width, height = output.gets.split.map(&:to_i) + width, height = output.gets.split.map{|line| line.to_i} block.call(styles, width, height) end end private # -----------------------------------------------------