4

How can I save an SVG file in Inkscape with a transparent background?

I've tried setting File > Document properties > Background color > Set the alpha channel to 0, but the resulting file has a white background when uploaded to my printer's website.

  • 1
    Is your printer's website supposed to show transparency differently? – Michael Schumacher Oct 26 '16 at 19:47
  • Are you uploading as a PDF by chance? I've seen issues in the past where PDF files generated by Inkscape didn't appropriately show transparency when rendering a preview on sites like VistaPrint. – Scribblemacher Oct 27 '16 at 12:36
3

Inkscape's default is to save SVGs without any background, unless you added one.

Try dragging your SVG into a raster image editor like GIMP or Photoshop. You'll soon find out if it really has a background or not. If it does, then either you added it, or your printer's website has done something to the image.

Here's a screenshot of a basic SVG, a circle with a fill and stroke, created in Inkscape, with default settings, and opened directly in GIMP. There is no background. The same is possible with Photohsop.

Inkscape SVG opened in GIMP with transparent background

Here is the link to download this SVG if you want to try it yourself. http://www.filedropper.com/test_305

-1

I don't really use Inkscape but you can solve it in other way, just open the svg file with your favorite text editor and set fill="none" or try opacity="0".

option 1: <rect x="27" y="115" width="43" height="40" stroke="#979797" stroke-width="2" fill="none"></rect>

option 2: <rect x="27" y="115" width="43" height="40" stroke="#979797" stroke-width="2" fill="#ffcc00" opacity="0"></rect>

Good luck!

  • That's assuming the SVG has a rect for a background that also has a stroke. Otherwise just delete the whole path – Cai Oct 26 '16 at 18:45
-1

Here is the tutorial, which is worked for me. This show me how to use Inkscape for Background Transparent and almost all vector file types such as SVG, PDF, or WMF. Hope it will solve your problem.

http://www.shmoggo.com/inkscape-tutorials/how-to-make-inkscapes-background-transparent/

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.