Sha256: 6a7237f521c8269f7c0ad3ccb3e8a70e3061cf2fafbbb7946e438019f6ef5ca3

Contents?: true

Size: 173 Bytes

Versions: 6

Compression:

Stored size: 173 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

6 entries across 6 versions & 1 rubygems

Version Path
rmagick-4.1.0.rc2 doc/ex/roll.rb
rmagick-4.1.0.rc1 doc/ex/roll.rb
rmagick-4.0.0 doc/ex/roll.rb
rmagick-3.2.0 doc/ex/roll.rb
rmagick-3.1.0 doc/ex/roll.rb
rmagick-3.0.0 doc/ex/roll.rb