Skip to content

PDF Extract Images

Function Description

TIP

This command is used to extract images from a PDF file. Before using, please install the PDF plugin in [Settings] - [Plugin Center].

PDF Extract Images

Configuration Item Description

General

Command Input

  • File Pathstring: Please enter the PDF file path

  • Extraction RangeInteger: Select the page range to extract

  • Page NumberInteger: Please enter the page number to extract. Page numbers start from 1.

  • Starting Page NumberInteger: Please enter the starting page number to extract. Page numbers start from 1.

  • Ending Page NumberInteger: Please enter the ending page number to extract. Page numbers start from 1.

  • Image Name Prefixstring: Please set a prefix for the extracted image names

  • Save Images Tostring: Please enter the folder path to save the images

Command Output

  • Save Image Path List ToTList<String>: Set a variable to save the list of image paths

Advanced

  • Use PasswordBoolean: Does the file require a password to open?

  • Passwordstring: Enter the 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