Skip to main content
Participant
August 5, 2021
Question

How to add an Image field to a PDF that can be programmatically be populated?

  • August 5, 2021
  • 1 reply
  • 1725 views

Using Acrobat DC 21.0, how does one go about adding an Image into a PDF form that I can populate programatically?

 

I have text fields that I can do this with no problem. I'm using coldfusion's cfpdfform tag to populate data. When building the form, I add the Image to the document, give it a variable name, etc, but when trying to populate it from coldfusion with base64 image data, nothing happens.

 

Is there a property I am not setting or a different control I should be using?

 

Whats the correct way to do this?

This topic has been closed for replies.

1 reply

Participant
April 4, 2023

I've used Adobe LiveCycle do this previously but I've run into the same issue mentioned here when converting Adobe Acrobat.  The data is there when I dump all the variable values and write the image to the browser but the image will not display in the PDF.

Participant
June 17, 2023

Hi Marcus29231603k9wr,

 

I am also trying to do this at the moment. Did you ever discover a solution?

 

Best regards

 

Chris

Participant
June 19, 2023

I ended up writing a a java class using apache pdfbox and calling it within CF. Works like a champ, but I need to eventually get around to rewriting it for the recent release of pdfbox.