README.rdoc in rtesseract-0.0.9 vs README.rdoc in rtesseract-0.0.10

- old
+ new

@@ -22,10 +22,18 @@ image = RTesseract.new("my_image.jpg") image.source = "new_image.png" image.to_s +=== TRANSFORM THE IMAGE + + image = RTesseract.read("my_image.jpg") do |img| + img = img.white_threshold(245) + img = img.quantize(256,Magick::GRAYColorspace) + end + image.to_s + === CONVERT PARTS OF IMAGE TO STRING mix_block = RTesseract::Mixed.new("test.jpg") do |image| image.area(28, 19, 25, 25) image.area(180, 22, 20, 28) @@ -56,6 +64,5 @@ * Rubygems - http://rubygems.org/gems/rtesseract == Copyright Copyright (c) 2010 Danilo Jeremias da Silva. See LICENSE for details. -