Skip to content

Save PDF as Image

Function Description

TIP

This instruction is used to save a specific page as an image

Save PDF as Image

Configuration Item Description

General

Command Input

  • File pathstring: Please enter the PDF file path

  • Extract rangeInteger: Select the page range to extract

  • Page numberInteger: Please enter the page number to extract. Page index starts from 1

  • Starting page numberInteger: Please enter the starting page number to extract. Page index starts from 1

  • Ending page numberInteger: Please enter the ending page number to extract. Page index starts from 1

  • Image name prefixstring: Please enter the image name prefix

  • Save image tostring: Please enter the folder path to save the image

Command Output

  • Save image toTList<String>: Specify a variable to save the list of image paths

Advanced

  • Use passwordBoolean: Whether a password is required to open the file

  • Passwordstring: Password required to open the file

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None