generate
Creates sandwiched OCR PDF file from given image file URIs and provided source list of Page OCR data.
Return
Result.Success with generated PDF File if PDF was generated successfully, Result.*Error otherwise.
Parameters
list of image file URIs
if true, the image files are encrypted and will be decrypted before OCR
the PDF configuration
the source list of Page OCR data.
Creates sandwiched OCR PDF file from given image file URIs and provided source list of Page OCR data.
Return
Result.Success with generated PDF File if PDF was generated successfully, Result.*Error otherwise.
Parameters
list of image file URIs
the output PDF file
if true, the image files are encrypted and will be decrypted before OCR
the PDF configuration
the source list of Page OCR data
Creates sandwiched OCR PDF file from given Document and provided source list of Page OCR data with provided languages. Uses the document image from a io.scanbot.sdk.docprocessing.Page.
Return
Result.Success if PDF was generated successfully, Result.*Error otherwise.
Parameters
the document to perform OCR on and create a PDF from.
the PDF configuration.
the source list of Page OCR data.
Creates sandwiched OCR PDF file from given Document and provided source list of Page OCR data with provided languages.. Uses the document image from a io.scanbot.sdk.docprocessing.Page.
Return
Result.Success if PDF was generated successfully, Result.*Error otherwise.
Parameters
the document to perform OCR on and create a PDF from.
the output PDF file
the PDF configuration.
the source list of Page OCR data.
Deprecated
Use generateWithOcrPagesFromDocument() instead
Creates sandwiched OCR PDF file from given Page objects and provided source list of Page OCR data with provided languages. Uses the document image from a Page.
Return
Result.Success with generated PDF File if PDF was generated successfully, Result.*Error otherwise.
Parameters
list of Page objects.
the PDF configuration.
the source list of Page OCR data.
Deprecated
Use generateWithOcrPagesFromDocument() instead
Creates sandwiched OCR PDF file from given Page objects and provided source list of Page OCR data with provided languages. Uses the document image from a Page.
Return
Result.Success if PDF was generated successfully, Result.*Error otherwise
Parameters
list of Page objects.
the output PDF file
the PDF configuration
the source list of Page OCR data.