1

I am trying to use the QGIS Raster Translate to convert a geotiff of my slope to PNG. I was able to create a PNG image with transparency. However the resulting image was white/black and did not adopt my symbology. How can I possibly input maybe an additional command to adopt my symbology? The raster is single band.

enter image description here

2 Answers 2

1

Add your raster to a new QGIS project. Symbolize your layer with psuedo-color as you see fit. From the Project menu choose Import/Export. From Import/Export choose Export Map to Image. Ensure that you have checked the Append georeference information checked. Pick the image size, scale, and resolution as appropriate. Save as a PNG. The output location will include the PNG and the PGW.

enter image description here

0

Converting a single band raster to a three band raster is not going to change the fact that you only have one band of data. This operation is not going to 'add color' to the raster. It sounds like you have a symbology problem. See this tutorial on different strategies for symbolizing raster data in QGIS.

1
  • I know how to add a Symbology. What I am asking is how to convert the raster with psuedo-color to PNG with the color involved since the process does not adopt the color.
    – Nikko
    Commented Feb 9, 2023 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.