Sha256: d790bf2ef2964b8c7426ce1a6628ab963a4e7aaac911267cb5c21a763b006f8d
Contents?: true
Size: 240 Bytes
Versions: 2
Compression:
Stored size: 240 Bytes
Contents
class RTesseract module Pdf extend Base def self.run(source, options) options.tessedit_create_pdf = 1 RTesseract::Command.new(source, temp_file, options).run File.open(temp_file('.pdf'), 'r') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rtesseract-3.0.2 | lib/rtesseract/pdf.rb |
rtesseract-3.0.1 | lib/rtesseract/pdf.rb |