Sha256: f248f69e63fb7678e9750dc97053a3bf14420e435a21ecd65fd7359d01f8473b

Contents?: true

Size: 200 Bytes

Versions: 19

Compression:

Stored size: 200 Bytes

Contents

#!/usr/bin/env 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

19 entries across 19 versions & 3 rubygems

Version Path
rmagick-4.1.0.rc2 doc/ex/normalize.rb
rmagick-4.1.0.rc1 doc/ex/normalize.rb
rmagick-4.0.0 doc/ex/normalize.rb
rmagick-3.2.0 doc/ex/normalize.rb
rmagick-3.1.0 doc/ex/normalize.rb
rmagick-3.0.0 doc/ex/normalize.rb
rmagick-windows-2.16.5 doc/ex/normalize.rb
rmagick-windows-2.16.4 doc/ex/normalize.rb
rmagick-windows-2.16.3 doc/ex/normalize.rb
rmagick-windows-2.16.2 doc/ex/normalize.rb
rmagick-windows-2.16.1 doc/ex/normalize.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/rmagick-2.16.0/doc/ex/normalize.rb
rmagick-2.16.0 doc/ex/normalize.rb
rmagick-2.15.4 doc/ex/normalize.rb
rmagick-2.15.3 doc/ex/normalize.rb
rmagick-2.15.2 doc/ex/normalize.rb
rmagick-2.15.1 doc/ex/normalize.rb
rmagick-2.15.0 doc/ex/normalize.rb
rmagick-2.14.0 doc/ex/normalize.rb