Easiest way to render my svg with transparent background

Discuss SVG code, accessible via the XML Editor.
Vectorator
Posts: 96
Joined: Tue Oct 21, 2014 1:40 pm
Location: Australia

Easiest way to render my svg with transparent background

Postby Vectorator » Fri Apr 10, 2015 7:14 pm

I have an svg which I want to render as a png with a transparent background for an image fallback.

It's hand coded, when I open it in Inkscape it's all messed up, though it works in all browsers is there another way to render it with a transparent background to make a png?

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Easiest way to render my svg with transparent background

Postby ragstian » Fri Apr 10, 2015 8:08 pm

Hi.

You can try one of the many online converters.
A short list;
http://image.online-convert.com/convert-to-png
https://cloudconvert.com/svg-to-png
http://www.office-converter.com/SVG-to-PNG
(You might find a lot more doing a Google search.)

As Inkscape "chokes" on your "handmade" SVG image you might find that the online converter does the same.
To check your SVG code for "compatibility errors" you can use online checkers.
A short list;
http://validator.w3.org/
https://tools.wmflabs.org/svgcheck/
http://www.svgopen.org/2009/papers/45-SVG_Checker/

Another option is to install and use Imagemagic
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Easiest way to render my svg with transparent background

Postby hulf2012 » Fri Apr 10, 2015 11:12 pm

Hello,

It seems it's solved by now, but wouldn't you share a sample of your "hand coded" svg?... perhaps it can be fixed on Inkscape...
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.


Return to “SVG / XML Code”