Add to PDF is a REST API tool that inserts new content into a PDF, including images and file attachments. Place images with precision without disrupting underlying PDF content, and attach any file format to a PDF.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!
to receive your free API Key.curl -X POST "https://api.pdfrest.com/pdf-with-added-image" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
The response for your API Call will display here.
You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.
pdfRest offers the best solution for adding images or attachments to PDF documents, because it supports precise image positioning, variable data printing, and attaching any file.
The Add to PDF API Tool makes it easy to add an image to a PDF exactly where you need it. Select the PDF page and set the x and y coordinates to precisely position your new content using standard PDF units and the native PDF coordinate system. With exactly 72 PDF units per inch, you can easily fine-tune your placement.
Add to PDF supports a wide range of the most common graphic image formats with high-quality preservation of color accuracy and resolution:
Quickly and easily create custom PDFs ready to print uniquely for each customer, user, or recipient of your document. Automate and streamline your workflow for adding variable data to template PDFs, including personalized logos, photos, and user information. Add to PDF "stamps" content right where you need it without modifying the underlying content of the PDF. Whether you need to add your customers' business logos to their invoices or addresses onto envelopes, the Add to PDF API Tool makes it easy.
With the Add to PDF API Tool you can easily add any file as an attachment to a PDF. There are many reasons why you may need to attach files to a PDF, including providing supplementary information, facilitating collaboration, preserving backups.
Many e-invoicing standards from around the world have requirements for specific file formats to be attached to PDF documents. For example, ZUGFeRD is a German standard for e-invoicing based on the PDF/A-3 format with attached XML files. Simalarly, the Saudi Arabia FATOORAH standard also requires XML files to be attached to PDF/A-3 documents.
Api-Key
field with your unique API
Key
file
with the local path to your
input
Need more help?
Start with a Tutorial for step-by-step guidance
/pdf-with-added-image
endpoint.
image_file
parameter allows you to select a local image to be uploaded to pdfRest’s processing server.
.gif
.jpg
/.jpeg
.png
.tif
/.tiff
Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.