Skip to main content

Hi,

I have a PDF-map (image without marginalia) generated from ArcGIS Pro that I want to convert to a GeoTIFF (8-bit palette) and use as raster data. The colours look fine in the PDF but somehow come out alot darker when i convert them to GeoTIFF. This happens if I export as an RGB as well... Is there a colour handling property that I have overlooked or is this a common issue between ESRI and FME in their PDF reader/writer?

Source PDF

Output GeoTIFF

It could be that the original PDF (or rather the raster that's in there) is using indexed colors rather than RGB, I don't have a copy of FME handy at the moment so I can't try this out, but if memory serves me well the RasterPaletteResolver is the one to try.


Has the PDF image got an alpha channel that the GeoTIFF doesn't? Unlikely, but if the entire map is consistently darker, then it's possible.


Has the PDF image got an alpha channel that the GeoTIFF doesn't? Unlikely, but if the entire map is consistently darker, then it's possible.

The PDF does have an alpha channel, I removed it but same problem. Apparently the PDF has a color space that isn't standard, which could be the cause...


It could be that the original PDF (or rather the raster that's in there) is using indexed colors rather than RGB, I don't have a copy of FME handy at the moment so I can't try this out, but if memory serves me well the RasterPaletteResolver is the one to try.

Good thought, but the PDF is a four channel RGBA.


It looks like the color management properties in ArcGIS Pro was the culprit. I changed the "Color conversion rule" (under project settings) to "preserve color values" and everything turned out fine.

Good to know!


Reply