Sha256: de732ef2b59cfdbf63ff19a4d884f9ca55181dbd1f034751d9bcf3590929c371

Contents?: true

Size: 160 Bytes

Versions: 29

Compression:

Stored size: 160 Bytes

Contents

#! /usr/local/bin/ruby -w

require 'RMagick'

img = Magick::Image.read('images/Flower_Hat.jpg').first
result = img.posterize
result.write('posterize.jpg')
exit

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
rmagick-2.13.4 doc/ex/posterize.rb
rmagick-2.13.3 doc/ex/posterize.rb
rmagick-2.13.3.rc1 doc/ex/posterize.rb
rmagick-2.13.2 doc/ex/posterize.rb
rdp-rmagick-0.0.0 doc/ex/posterize.rb
rmagick-2.13.1 doc/ex/posterize.rb
rmagick-2.12.2 doc/ex/posterize.rb
rmagick-2.12.1 doc/ex/posterize.rb
rmagick-2.12.0 doc/ex/posterize.rb
rmagick-2.11.1 doc/ex/posterize.rb
rmagick-2.10.0 doc/ex/posterize.rb
rmagick-2.11.0 doc/ex/posterize.rb
rmagick-2.2.0 doc/ex/posterize.rb
rmagick-2.0.0 doc/ex/posterize.rb
rmagick-2.1.0 doc/ex/posterize.rb
rmagick-2.2.2 doc/ex/posterize.rb
rmagick-2.3.0 doc/ex/posterize.rb
rmagick-2.4.0 doc/ex/posterize.rb
rmagick-2.5.0 doc/ex/posterize.rb
rmagick-2.5.1 doc/ex/posterize.rb