Skip to main content
Question

Writing multiple different PNG's in multiple pdf's using a path reference

  • November 14, 2019
  • 2 replies
  • 29 views

I currently have an excel containing a few hundreds of addresses and information, which needs to be put into multiple PDFs. Each PDF need to contain an introduction letter and a map. This map is generated in ArcMap and exported as png. The excel contains a path reference to a folder where all the png's are stored. So, each excel value (letter) has it's unique png.

I'm trying to create a PDF page for each png, for this I am using the pdf_page_formatter. I succeeded in generating a page for each map (by using pdf_page_number). However, the png will not show-up in the PDF. Is there a way that FME will load the png in the PDF, using only a path reference?

For example: C:\\Temp\\output\\105899887_RDK02K4525.png

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

jovitaatsafe
Safer
Forum|alt.badge.img+11

Hi @michielol,

Thanks for your question! Unfortunately we don't have the capability to embed external images in PDF, but there are two possible workarounds:

The first is to use a FeatureReader to read in your PNGs as a raster and then embed them directly into the PDF.

The other idea is if the end user wants to be able to navigate to the file but not actually see it in the PDF, you can use a PDFStyler to add a URL like: "file://c:/Temp/output/105899887_RDK02K4525.png"


  • Author
  • November 15, 2019

Hi @michielol,

Thanks for your question! Unfortunately we don't have the capability to embed external images in PDF, but there are two possible workarounds:

The first is to use a FeatureReader to read in your PNGs as a raster and then embed them directly into the PDF.

The other idea is if the end user wants to be able to navigate to the file but not actually see it in the PDF, you can use a PDFStyler to add a URL like: "file://c:/Temp/output/105899887_RDK02K4525.png"

Thank you for your reply.