Skip to main content
Question

Image with transparency to PDF


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

kailinatsafe
Safer
Forum|alt.badge.img+21

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.


  • August 25, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings