Pdfium Pdf Images Extractor
open class PdfiumPdfImagesExtractor(val fileIOProcessor: FileIOProcessor, val context: Context) : PdfImagesExtractor
Allows extract image files from the imported pdf files. Based on Pdfium library.
Parameters
file IOProcessor
for handling sdk file encryption process.
Inheritors
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.