Skip to main content
Known Participant
February 6, 2008
Question

Insert image/graphic file into PDF

  • February 6, 2008
  • 1 reply
  • 1047 views
In either CF 7 or CF 8, is there a way to dynamically place an image/graphic file into an existing PDF.

Scenario is:

1. We have a PDF that's already built
2. It has form fields
3. We use a CF tag to place an image/graphic file into one of the form fields

I don't see how to do it with either cfdocument or cfpdf.

Is it possible within ColdFusion?

If not, can anyone suggest a technique or workaround? Or any third party products that will help us do it?

Thanks.
This topic has been closed for replies.

1 reply

Inspiring
February 6, 2008
You can use iText. It is what cfdocument uses to create pdf's. So it is built into MX7 and CF8. Here is a java example of something similiar to what you are trying to do

http://threebit.net/mail-archive/itext-questions/msg00294.html
Known Participant
February 7, 2008
Thanks, that's good info.