I have vector point data which I have styled using svg images, see below with the globe in the background:

enter image description here

And without:

enter image description here

I want to export the image without the globe as a tif with transparency. The white should be 100% transparent while the edges around the data should keep there semi-transparency.

I have tried "save image as", which doesn't keep transparency and is to low resolution. Then I tried the following command:

.\qgis.bat --project D:\test\hurricanes\hurricanes_test.qgs --snapshot D:\test\hurricanes\hurricanes_new.tif --width 30000 --height 15000

I was able to increase the resolution this way, but again it doesn't keep transparency. I have tried using the background setting in the print composer, but it doesn't keep the semi-transparent edges around the data. Does anyone have any ideas?

  • I think you want to produce an image of your data with transparency, but not a raster in the way a raster is understood in GIS terms. So the print composer is the right approach
    – Marco
    Oct 5, 2017 at 22:36

1 Answer 1


To achieve the transparency by using the map composer you need to set two things:

  1. In the print composer window, change the Page background in the composition tab enter image description here enter image description here

  2. Also change the selection of Backgroundin the Item properties to unseleced enter image description here

I tested it and it worked fine in QGIS 2.18.7


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.