Skip to main content
Solved

Colour conversion from PDF to tiff

  • May 5, 2020
  • 5 replies
  • 159 views

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!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

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+59

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

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

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!