Skip to main content
Solved

Colour conversion from PDF to tiff


disco2000
Contributor
Forum|alt.badge.img+3

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

Best answer by disco2000

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!

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

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

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.


mark2atsafe
Safer
Forum|alt.badge.img+44

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.


disco2000
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • May 6, 2020
mark2atsafe wrote:

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...


disco2000
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • May 6, 2020
redgeographics wrote:

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.


disco2000
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • Best Answer
  • May 6, 2020

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!


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