Sha256: 8bc5e38ffbe74f71eec04bd9af83774b88482533a61611c3050282407f4a71fc

Contents?: true

Size: 169 Bytes

Versions: 13

Compression:

Stored size: 169 Bytes

Contents

#!/usr/bin/env ruby -w
require 'rmagick'

img = Magick::Image.read('images/Flower_Hat.jpg').first

img = img.roll(img.columns/4, img.rows/4)

img.write('roll.jpg')
exit

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
rmagick-windows-2.16.5 doc/ex/roll.rb
rmagick-windows-2.16.4 doc/ex/roll.rb
rmagick-windows-2.16.3 doc/ex/roll.rb
rmagick-windows-2.16.2 doc/ex/roll.rb
rmagick-windows-2.16.1 doc/ex/roll.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/rmagick-2.16.0/doc/ex/roll.rb
rmagick-2.16.0 doc/ex/roll.rb
rmagick-2.15.4 doc/ex/roll.rb
rmagick-2.15.3 doc/ex/roll.rb
rmagick-2.15.2 doc/ex/roll.rb
rmagick-2.15.1 doc/ex/roll.rb
rmagick-2.15.0 doc/ex/roll.rb
rmagick-2.14.0 doc/ex/roll.rb