pages From Pdf
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.
Return
list of imported page ids
Parameters
pdf File
input pdf document
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