Skip to main content
Solved

Create 3 band raster from one band which contains a palette

  • November 4, 2019
  • 3 replies
  • 108 views

Hello. I have a b/w raster with only one band but in each band there are 255 palettes with a RGB combine each one. Is it possible extract each combine like a RGB combine value?

Thanks a lot.

This is the example of the issue.

Best answer by takashi

Hi @topo79, if the one-band raster contains a palette already and you need to convert the raster to RGB 3-band raster according to the palette, you can use the RasterPaletteResolver to do that.

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.

3 replies

takashi
Celebrity
  • 7843 replies
  • Best Answer
  • November 4, 2019

Hi @topo79, if the one-band raster contains a palette already and you need to convert the raster to RGB 3-band raster according to the palette, you can use the RasterPaletteResolver to do that.


  • Author
  • 4 replies
  • November 5, 2019

Hi Takashi.

I´ll try it and tell you how gone it!!

Thanks a lot.

Regards.


  • Author
  • 4 replies
  • November 8, 2019

Hello Takeshi. The answer which you tell me last day works perfect.

Thank you so much for your help.

Regards.