DefaultPdfImagesExtractor

Allows extract image files from the imported pdf files. Based on Android PdfRenderer.

Parameters

fileIOProcessor

for handling sdk file encryption process.

Constructors

Link copied to clipboard
constructor(fileIOProcessor: FileIOProcessor)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun imageUrlsFromPdf(pdfFile: File, outputDir: File, prefix: String, compression: Bitmap.CompressFormat, quality: Int, scaling: Float, bitmapConfig: Bitmap.Config, cancelCallback: LongOperationCancelCallback?, progressCallback: ProgressCallback?): List<Uri>

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