extract
Converts pdf document to separate image files with given options. If the encryption of sdk is enabled all images WILL be encrypted.
Return
Result containing list of uris of image files, or failure if operation fails
Parameters
input pdf document
directory, where the output files will be stored
prefix for output image files, naming will be
bitmap compress format to use. JPEG by default
compression quality. 90 by default
size of the image modifier. 2 by default
bitmap config to use. ARGB_8888 by default
callback that can cancel the operation during the extraction of pages
callback that can get the number of pages already processed during the extraction of pages
Converts pdf document to separate image files with given options. If the encryption of sdk is enabled all images WILL be encrypted.
Return
Result containing list of ImageRef objects, or failure if operation fails
Parameters
input pdf document
callback that can cancel the operation during the extraction of pages
callback that can get the number of pages already processed during the extraction of pages
the block to process extracted PDF page image.
Extracts and processes images from PDF document with custom processing logic and continuation control. Processing stops when the callback returns false or all pages are processed.
Return
Result containing Unit on success, or failure if operation fails
Parameters
input pdf document
the block to process extracted PDF page image and determine whether to continue processing