Question

Image with transparency to PDF

  • 21 March 2023
  • 2 replies
  • 26 views

Hi,

 

I’m trying to add into a pdf (PDF2D) an image. I have created it as a png with transparent background. However when the pdf is created the background is black. I have tried different things but can’t figure it out how to remove the black background. This is what I’m doing:

 

  1. Creator
  2. RasterReader
  3. RasterGeoreferencer
  4. PDFStyler
  5. PDFPageFormatter
  6. PDF2D Writer

 

I played with the PDFStyler but it doesn’t change the result. Can somebody guide me?

 

Thanks,


2 replies

Userlevel 3
Badge +13

Hello @Margarita Quinones​, thanks for posting! Unfortunately, adding rasters with transparent backgrounds to PDFs is not yet supported in FME Desktop yet (FMEENGINE-37049). If this is something you'd like FME to support, you should consider upvoting this idea or (even better) add a comment with your use case! Sorry I don't have better news, Kailin.

I read 2 images from different WMS with an ImageFetcher. One of them is a transparent png that should be placed over the other image.

That's exactly why I need this functionality.

Reply