# File lib/tiff.rb, line 259 def transform_rmagick(img) case @type when :TopRight ; img.flop when :BottomRight ; img.rotate(180) when :BottomLeft ; img.flip when :LeftTop ; img.rotate(90).flop when :RightTop ; img.rotate(90) when :RightBottom ; img.rotate(270).flop when :LeftBottom ; img.rotate(270) else img end end