Skip to main content
Solved

Strange behavior when sending a raster to GeospatialPDF Writer

  • December 11, 2021
  • 1 reply
  • 36 views

lorenrouth
Contributor
Forum|alt.badge.img+8

I am struggling to ouput rasters correctly when using the GeospatialPDF writer. My source file is a PDF that has text, image, vector and raster data. It's the raster that is giving me the trouble. When isolating the raster and sending to the GeospatialPDF Writer, some of it comes comes out ok, but the rest has a black background. Interestingly, the colors are switched when viewed from Google Drive! Raster1Raster2What is going on here??? Viewing the raster directly from the GeoSpatialPDF Reader, it looks more or less normal (should just be a straight white background for everything). My workspace is literally a Reader and a Writer, that's it.Raster3 

The goal is to be able to render the output pages exactly as the original, using the data from the other objects for a fanout. Any ideas?

 

Thanks,

@lorenrouth​ 

Best answer by lorenrouth

After a bunch of digging, I was able to fix the blackspace using the RasterInterpretationCoercer with the RGBA to RGB field set to Apply The Alpha Band.

View original
Did this help you find an answer to your question?

1 reply

lorenrouth
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • Best Answer
  • December 12, 2021

After a bunch of digging, I was able to fix the blackspace using the RasterInterpretationCoercer with the RGBA to RGB field set to Apply The Alpha Band.


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