I have a gray scale tiff image. I can extract the values from this tiff using numpy and make a new image with blue scale. But how can I convert it to shades of blue instead of shades of gray directly from the Tiff? Is it even possible?
Edit: Well I have two sets of tiff images(data), one with color-palette and another with gray scale ,I could generate tiles from color-palette one using generate_tiles.py, and show them on a map, but with gray scale one I can't do that, so I am wondering if I could change this gray scale tiff to color-palette one (with custom colours) so I can generate tiles and visualize the data.