Sha256: 61061336bbda0b9e306bdca7258a27423ac5bceebd1c401681d175df0a3a01be

Contents?: true

Size: 229 Bytes

Versions: 6

Compression:

Stored size: 229 Bytes

Contents

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

# Demonstrate the Image#blur_image method

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

# Make a blurry copy.
img = img.blur_image(0.0, 2.5)

img.write('blur_image.jpg')
exit

Version data entries

6 entries across 6 versions & 1 rubygems

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