Method: Docsplit.extract_pdf
- Defined in:
- lib/docsplit.rb
.extract_pdf(docs, opts = {}) ⇒ Object
Use JODCConverter to extract the documents as PDFs. If the document is in an image format, use GraphicsMagick to extract the PDF.
57 58 59 |
# File 'lib/docsplit.rb', line 57 def self.extract_pdf(docs, opts={}) PdfExtractor.new.extract(docs, opts) end |