Pdfium Pdf Pages Extractor
class PdfiumPdfPagesExtractor(val pageFileStorage: PageFileStorage, fileIOProcessor: FileIOProcessor, context: Context) : PdfiumPdfImagesExtractor, PdfPagesExtractor
Allows to import pdf files to Scanbot SDK as pages or extract image files. Based on Pdfium library.
Parameters
file IOProcessor
for handling sdk file encryption process.
page File Storage
page file storage to add pages to
Functions
Link copied to clipboard
open override fun pagesFromPdf(pdfFile: File, scaling: Float, bitmapConfig: Bitmap.Config, cancelCallback: LongOperationCancelCallback?, progressCallback: ProgressCallback?): List<String>
Converts pdf document to separate image files as pages with given options. If the encryption of sdk is enabled all pages WILL be encrypted.