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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with an PDF-documentRobin.PDFPDF contextYes
Target folderPath to the directory where the images will be saved.Robin.FolderPathC:\doc\imgYes
ExtensionImage extension. *.jpeg is default.Robin.String
No
Results
ResultCollection 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

  1. Assemble a robot scheme with the actions.

  2. Set the "Open PDF" action parameter.

  3. Set the "Extract images" action parameters.

  4. Set the "Close PDF" action parameter.

  5. Click "Start" in the top panel.

Result

The program robot completed successfully.

The images are extracted to the desired folder. The document is closed.

  • Нет меток