Method: PDFextract#process
- Defined in:
- lib/pdf_extract.rb
#process ⇒ Object
123 124 125 126 127 128 129 |
# File 'lib/pdf_extract.rb', line 123 def process remove_protection if [:remove_protection] == true results[:images] = pdf_to_image_files("all") results[:text] = convert_to_text if [:extract_all_text] == true process_pages cleanup end |