Sha256: fefcfc30fae51417be1b9d76e39aa6ec436a2e07e2574094b8e85eaed9bd2634

Contents?: true

Size: 203 Bytes

Versions: 13

Compression:

Stored size: 203 Bytes

Contents

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

# Demonstrate the Image#shear method.

img = Magick::Image.read('images/Flower_Hat.jpg').first
img = img.shear(-30,-30)
#img.display
img.write('shear.jpg')
exit

Version data entries

13 entries across 13 versions & 3 rubygems

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