ThinkGeo.com    |     Documentation    |     Premium Support

Color of GeoTiff-Layer

Hi,

i’m using the GeoTiff-Rasterlayer in MapSuite WPF Edition to render a background for my map. The images are all black & White. Currently, the users have Geomedia and see the same images as background, but the black color is replaced by a light-gray-Color, so that prompts for features are better readable.

Is there a possibility to replace the black color of my GeoTiff-Imges with a different Color at runtime?

Regards,
Andreas

Hi Andreas,

Does the image is black & white color or it’s rendered in our map as black & white?

If you want to modify the color at run-time, I think the API ColorMapping should works.

Please refer this post, which the user found ColorMapping works for his raster layer.

Wish that’s helpful.

Regards,

Don

1 Like

Hi Don,

thanks, ColorMappings for fine for me

Regards,
Andreas

Hi Andreas,

I am glad to hear that’s helpful, any question please let us know.

Regards,

Don