PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Acroform Insert Image

Places an image, such as a signature or a stamp, where a named form field sits in a PDF.

The Acroform Insert Image action puts an image into a PDF at the place of a form field (an AcroForm field). Prepare the PDF once with an empty field where the signature, stamp or logo should go; the action then fills that spot with the image you give it.

Add the action

In the Process Designer toolbox, open PDF and pick Acroform Insert Image (or type Acroform in the search box).

The Acroform Insert Image action properties: Pdf In, Marker Name, Image, Pdf Out and Debug

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Pdf InInputFileYesThe PDF that contains the form field.
Marker NameInputTextYesThe name of the form field that marks where the image goes, for example signature.
ImageInputFileYesThe image: .jpg, .jpeg, .png or .gif.
Pdf OutOutputFileYesThe PDF with the image in place. It keeps the input file's name.
DebugOutputJSONNoWhat happened to the field: {"Key": โ€ฆ, "State": โ€ฆ}.

Example

Pdf In form.pdf (one text field named signature), Image stamp.png:

Marker NameDebug
signature{"Key":"signature","State":"Found on page 1 and updated successfully."}
nothere{"Key":"nothere","State":"Not found in PDF."}

Good to know

  • The image is scaled to fit inside the field's box, keeping its proportions, and centred in it. The field itself is removed from the page.
  • If the field appears on several pages, the image is placed on each of them, and Debug lists the pages.
  • A field name that does not exist does not fail the step: Pdf Out is returned without the image. Check Debug (Not found in PDF.) if the image must be there.
  • Other image types fail the step with Input error: Image extension should be one of '.jpg', '.png', '.gif' or '.jpeg' !
  • When you insert several images into the same PDF with consecutive actions, chain them starting with the highest-numbered marker, for example supplier.signature.3, then supplier.signature.2, then supplier.signature.1.

On this page