Sha256: 1fc0e1a7ee9c8d8672894f013184fd27b775cc17f593141de3526699d85fbd65

Contents?: true

Size: 229 Bytes

Versions: 29

Compression:

Stored size: 229 Bytes

Contents

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

# Demonstrate the Image#adaptive_threshold method

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

Version data entries

29 entries across 29 versions & 2 rubygems

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