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.5.2 doc/ex/adaptive_threshold.rb
rmagick-2.6.0 doc/ex/adaptive_threshold.rb
rmagick-2.8.0 doc/ex/adaptive_threshold.rb
rmagick-2.7.2 doc/ex/adaptive_threshold.rb
rmagick-2.7.0 doc/ex/adaptive_threshold.rb
rmagick-2.7.1 doc/ex/adaptive_threshold.rb
rmagick-2.9.0 doc/ex/adaptive_threshold.rb
rmagick-2.9.2 doc/ex/adaptive_threshold.rb
rmagick-2.9.1 doc/ex/adaptive_threshold.rb