#! /usr/local/bin/ruby -w require 'RMagick' # Demonstrate the Image#flop method jj = Magick::Image.read('images/Jean_Jacket.jpg').first jj = jj.scale(250.0/jj.rows) jj = jj.flop #jj.display jj.write('flop.jpg') exit