Default Pdf Pages Extractor
class DefaultPdfPagesExtractor(val pageFileStorage: PageFileStorage, fileIOProcessor: FileIOProcessor) : DefaultPdfImagesExtractor, PdfPagesExtractor
Allows to import pdf files to Scanbot SDK as pages or extract image files. Based on Android PdfRenderer.
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.