Skip to main content

Hi FME community

 

I would like to fade-out raster image created with WMS and write to a pdf-file. For this I first create my WMS image and then overlay this image with a prepared png-File with the fade-out effect. Within FME everything works fine and the result before the pdf-writer in the Data Inspector is what I expect. But in the pdf-file the fade-out effect is no longer visible (see attached screenshot).

 

I guess it's a problem of the pdf writer. Does anyone have an idea how I can fix this?

 

Thank you very much and kind regards from Switzerland.

Dominik

Are you writing a single raster with several bands, or two rasters on top of each other?

Perhaps you could try something like the RasterbandCombiner or the MapnikRasterizer to resolve the fade-out effect before writing to the PDF.

 


Could it also be that the fade out image is appearing below the WMS image?

 

I think combining both images in FME and writing it as a single image to the pdf is probably the best way forward though.


Could it also be that the fade out image is appearing below the WMS image?

 

I think combining both images in FME and writing it as a single image to the pdf is probably the best way forward though.

It looks like the order does matter, but it doesn't look like the pdf writer can handle the transparency in the raster anyhow so combining in FME is definitely the way to go.

 

I'd use the RasterMosaicker and choose Composite Using Alpha Band in the Overlapping Values parameter


This is it ... I have to combine to one single image before I export them. Thanks to ebygomm and david_r


Reply