PdfImagesExtractor

Allows to extract image files from pdf files

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

The type of the PdfPagesExtractor. ANDROID_PDF_WRITER is the default implementation

Functions

Link copied to clipboard
abstract fun imageUrlsFromPdf(pdfFile: File, outputDir: File, prefix: String, compression: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, quality: Int = DEFAULT_COMPRESSION_QUALITY, scaling: Float = DEFAULT_SCALING, bitmapConfig: Bitmap.Config = Bitmap.Config.ARGB_8888, cancelCallback: LongOperationCancelCallback? = null, progressCallback: ProgressCallback? = null): List<Uri>

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