2

I have a raster where I want to remove the black background.

I tried it with setting "Additional no data value" in Layer properties -> Transparency to 0.

But the place names on the raster are also black and they disappear as well. Is there another method that would work here?

4

You can create a polygon that delineates the valid raster pixels and then use QGIS' Clip Raster by Mask layer in order to remove the background. You can find this tool in the menu Raster / Extraction. Remember also to assign an non-zero noData value and to tick the "Clip the extent of the target dataset to the extent of the cutline".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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