Class: PdfTools::Tool::ImageToPdf

Inherits:
PdfTools::Tool show all
Defined in:
lib/pdf_tools/tool/image_to_pdf.rb

Overview

Wrapper for 3-Heights(TM) Image to PDF Converter Shell Return Codes 0 Success 1 Input File could not be opened or invalid parameters 2 The PDF Output File could not be written 3 Option error 4 OCR error 5 Decode errors 10 License error none Information (stdout) “Done.”

Constant Summary collapse

TOOL_NAME =
"img2pdf"

Constants inherited from PdfTools::Tool

KEY_VALUE_OPTIONS

Instance Attribute Summary

Attributes inherited from PdfTools::Tool

#args, #name

Instance Method Summary collapse

Methods inherited from PdfTools::Tool

#<<, available_options, #call, #command, #merge!, #method_missing, new

Constructor Details

#initialize(*args) ⇒ ImageToPdf

Returns a new instance of ImageToPdf.



20
21
22
# File 'lib/pdf_tools/tool/image_to_pdf.rb', line 20

def initialize(*args)
  super(TOOL_NAME, *args)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PdfTools::Tool