Sha256: 4baec869516a58eb1c1df58f4bbd92e4e80c6fc646b05bf983766b1f9573a274

Contents?: true

Size: 188 Bytes

Versions: 67

Compression:

Stored size: 188 Bytes

Contents

#! /usr/local/bin/ruby -w
require 'RMagick'

# Demonstrate Image#shade

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

img = img.shade(true, 50, 50)

img.write('shade.jpg')
exit

Version data entries

67 entries across 67 versions & 2 rubygems

Version Path
rmagick-2.13.4 doc/ex/shade.rb
rmagick-2.13.3 doc/ex/shade.rb
rmagick-2.13.3.rc1 doc/ex/shade.rb
rmagick-2.13.2 doc/ex/shade.rb
rdp-rmagick-0.0.0 doc/ex/shade.rb
rmagick-2.13.1 doc/ex/shade.rb
rmagick-2.12.2 doc/ex/shade.rb
rmagick-2.12.1 doc/ex/shade.rb
rmagick-2.12.0 doc/ex/shade.rb
rmagick-2.11.1 doc/ex/shade.rb
rmagick-2.10.0 doc/ex/shade.rb
rmagick-2.11.0 doc/ex/shade.rb
rmagick-1.10.1 doc/ex/shade.rb
rmagick-1.10.0 doc/ex/shade.rb
rmagick-1.13.0 doc/ex/shade.rb
rmagick-1.12.0 doc/ex/shade.rb
rmagick-1.11.0 doc/ex/shade.rb
rmagick-1.11.1 doc/ex/shade.rb
rmagick-1.15.10 doc/ex/shade.rb
rmagick-1.15.1 doc/ex/shade.rb