Extract images Version 2 (Net)
Action group: PDF
Description
The action accepts a pdf-document as input, and saves the pdf-images attached to the folder as a separate image file.
The names of the resulting images will be written in the format: "Name_PDF-Number_Page_Number-Page_Number_on_Page.jpeg". For example: contract-1-1.jpeg, contract-1-2.jpeg and so on.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with an PDF-document | Robin.PDF | PDF context | Yes |
Target folder | Path to the directory where the images will be saved. | Robin.FolderPath | C:\doc\img | Yes |
Extension | Image extension. *.jpeg is default. | Robin.String | No | |
Results | ||||
Result | Collection of image file paths. | Robin.Collection |
Special conditions of use
None.
Example of use
Task
Open the PDF file and upload images from the file to the "pictures" folder on the workspace (extension - png), then close the document.
Solution
Use the "Open PDF", "Extract images", "Close PDF" actions.
Implementation
- Assemble a robot scheme with the actions.
- Set the "Open PDF" action parameter.
- Set the "Extract images" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
The images are extracted to the desired folder. The document is closed.
Обзор
Инструменты контента