Interface PdfPagesExtractor

  • All Implemented Interfaces:

    
    public interface PdfPagesExtractor
    
                        

    Allows to import pdf files to Scanbot SDK as pages or extract image files

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract List<String> pagesFromPdf(File pdfFile, Float scaling, Bitmap.Config bitmapConfig, LongOperationCancelCallback cancelCallback, ProgressCallback progressCallback) Converts pdf document to separate image files as pages with given options.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • pagesFromPdf

         abstract List<String> pagesFromPdf(File pdfFile, Float scaling, Bitmap.Config bitmapConfig, LongOperationCancelCallback cancelCallback, ProgressCallback progressCallback)

        Converts pdf document to separate image files as pages with given options. If the encryption of sdk is enabled all pages WILL be encrypted.

        Parameters:
        pdfFile - input pdf document
        scaling - size of the image modifier.
        bitmapConfig - bitmap config to use.
        cancelCallback - callback that can cancel the operation during the extraction of pages
        progressCallback - callback that can get the number of pages already processed during the extraction of pages