How to Add Images to PDF with UiPath
In this article, we will try to add images to existing PDF files and we’re going to use a sample PDF file. It is basically the IRS 1040 form to fill out the individual income tax returns. Copy the file and provide the input URL in the PDF file URL box. As we can see here the format of expected image objects. We will provide the x and y coordinates first then provide a number of pages where the image will be applied and the URL to the image. If we want to provide any link for example by clicking the image some links would be open. Then we can provide here and the written height of the image.
I already have input here. I am taking the x and y coordinates of the image. Then I’m providing the zero to any number of pages. Basically, it will apply to the all number of pages. This is the zero-based index. We are providing the input URL of the image. We are not providing the other URL like all click of the image. Some URLs should be open.
Copy the link and we will try to see how it is looking. I am copying and pasting it in the image objects option and also provide the output. Again I am copying the output path and clearing the previous file. Now copied output path and provide the destination folder, name as result_image.pdf.
I think we are good with the configurations and run it. Now the execution is completed. If we open the output folder we can see the file has been generated. The image BYTESCOUT logo has been applied to all of the pages just like we have specified.
UiPath and PDF.co integration
To start, please use the button below: