Sha256: 36fdda3a36b88e5f899af76cbd8bb1c9342257a5101ce71c4a9910e2893a0340

Contents?: true

Size: 203 Bytes

Versions: 67

Compression:

Stored size: 203 Bytes

Contents

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

# Demonstrate the Image#normalize method

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

img = img.normalize

img.write('normalize.jpg')
exit

Version data entries

67 entries across 67 versions & 2 rubygems

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