Advertisement


How can I save an Inkscape png with a transparent background?


Question

Whenever I save my Inkscape drawing as .png (save as -> cairopng), even if there is nothing behind my drawing, it saves it with a background, like this:

enter image description here

How can I save with a transparent background?

2014/12/11
1
4
12/11/2014 9:08:00 PM

Accepted Answer

Just using save as -> png does not apply the transparent background. However, the transparent background is the default when you export:

File -> Export Bitmap -> Export

Make sure to set the file extention to .png. I chose it to only export the page so it doesn't include any of the rubbish off to the side that I don't want included in my file. Drawing exports everything in the file.

enter image description here

If you want the background colour to be anything different, you can open the Document Properties dialog, and click the Background colour selector:

enter image description here

And when you have exported you will have your image with the background:

Transparent:

enter image description here

2018/06/23
5
6/23/2018 7:22:00 PM