image Urls From Pdf
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.
Return
list of uris of jpeg files
Parameters
pdf File
input pdf document
output Dir
directory, where the output files will be stored
prefix
prefix for output image files, naming will be
compression
bitmap compress format to use. JPEG by default
quality
compression quality. 90 by default
scaling
size of the image modifier. 2 by default
bitmap Config
bitmap config to use. ARGB_8888 by default
cancel Callback
callback that can cancel the operation during the extraction of pages
progress Callback
callback that can get the number of pages already processed during the extraction of pages
Throws
if pdf file is not available.