Wolfram Research

Function Repository Resource:

SVGImport

Source Notebook

Import an SVG file as a graphics object

Contributed by: Richard Hennigan (Wolfram Research)

ResourceFunction["SVGImport"][path]

imports the SVG file at path as a Graphics object.

ResourceFunction["SVGImport"][ByteArray[]]

imports the given byte array as contents of an SVG file.

ResourceFunction["SVGImport"]["string"]

imports the given string as contents of an SVG file.

Details and Options

Possible values for path are:
"path" a string corresponding to a file path or URL
File [ ] a File object
URL [ ] a URL object
LocalObject [ ] a LocalObject
CloudObject [ ] a CloudObject
ResourceFunction["SVGImport"] has the following options:
"ShowWarnings" False whether to show warnings about potential conversion inaccuracies
"IntermediateFormat" "PDF" an intermediate file format to be used during conversion

Examples

Basic Examples (4) 

Import an SVG file as vector graphics:

In[1]:=
Export["disks.svg", Graphics[{Opacity[0.5], Blue, Disk[], Yellow, Disk[{1, 0}]}]]
Out[1]=
In[2]:=
ResourceFunction["SVGImport"]["disks.svg"]
Out[2]=

Import an SVG with formatted text:

In[3]:=
Export["lorem.svg", "\!\(\*
StyleBox[\"Lorem\",\nFontSize->16,\nFontColor->RGBColor[0.6, 0.4, \
0.2]]\)\!\(\*
StyleBox[\" \",\nFontSize->16,\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\
\!\(\*
StyleBox[\"ipsum\",\nFontSize->16,\nFontColor->RGBColor[0.6, 0.4, \
0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"dolor\",\nFontSlant->\"Italic\",\nFontColor->RGBColor[0.6, \
0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"sit\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"amet\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\",\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"consectetur\",\nFontColor->RGBColor[0.6, 0.4, \
0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"adipisicing\",\nFontColor->RGBColor[0.6, 0.4, \
0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"elit\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\",\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"sed\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"do\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"eiusmod\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"tempor\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"incididunt\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"ut\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"labore\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"et\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"dolore\",\nFontSlant->\"Italic\",\n\
FontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"magna\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\" \",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\"aliqua\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)\!\(\*
StyleBox[\".\",\nFontColor->RGBColor[0.6, 0.4, 0.2]]\)"]
Out[3]=
In[4]:=
ResourceFunction["SVGImport"]["lorem.svg"]
Out[4]=

Import an SVG from the web:

In[5]:=
ResourceFunction[
 "SVGImport"]["https://upload.wikimedia.org/wikipedia/commons/8/84/\
Example.svg"]
Out[5]=

Import a formula:

In[6]:=
Export["formula.svg", Integrate[Sqrt[x + Sqrt[x]], x]]
Out[6]=
In[7]:=
ResourceFunction["SVGImport"]["formula.svg"]
Out[7]=

Scope (5) 

Import an SVG from a string:

In[8]:=
ResourceFunction[
 "SVGImport"]["<?xml version=\"1.0\" encoding=\"UTF-8\" \
standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\
\n\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n\n\n<!-- \
Page 1 -->\n<svg x=\"0\" y=\"0\" width=\"68\" height=\"68\" \
viewBox=\"0 0 68 68\" version=\"1.1\" \
xmlns=\"http://www.w3.org/2000/svg\" \
xmlns:xlink=\"http://www.w3.org/1999/xlink\"\nstyle=\"display: \
block;margin-left: auto;margin-right: auto;\">\n<defs>\n<clipPath id=\
\"c_1\"><path d=\"M0,0H68V68H0Z\" /></clipPath>\n<style \
type=\"text/css\"><![CDATA[\n\n.g0_1{\nfill: #FC6B34;\n}\n.g1_1{\n\
fill: none;\nstroke: #FC6B34;\nstroke-width: 0.15277778;\n\
stroke-linecap: square;\nstroke-linejoin: miter;\n}\n.g2_1{\nfill: \
#DF4708;\n}\n.g3_1{\nfill: #FFFFFF;\n}\n\n]]></style>\n\n</defs>\n<g \
clip-path=\"url(#c_1)\">\n<path d=\"M0,0\nL0,68\nL68,68\nL68,0 Z \" \n\
fill=\"#FFFFFF\" stroke=\"none\" />\n<path d=\"M0,0H68.8V68.8H0V0Z\" \
class=\"g0_1\" />\n<path d=\"M0,0H68.8V68.8H0V0Z\" class=\"g1_1\" />\n\
<path fill-rule=\"evenodd\" \
d=\"M68.8,34.4c0,19,-15.4,34.4,-34.4,34.4C15.4,68.8,0,53.4,0,34.4C0,\
15.4,15.4,0,34.4,0c19,0,34.4,15.4,34.4,34.4Z\" class=\"g2_1\" />\n\
<path fill-rule=\"evenodd\" \
d=\"M15,29.2v-.6c.1,-.8,.2,-1.6,.5,-2.4c.6,-1.8,1.7,-3.4,3.1,-4.5c1.3,\
-1.2,2.9,-2,4.5,-2.2c1.2,-.1,2.3,.3,3.1,1.1c.5,.3,.7,.9,.6,1.5c-.2,.7,\
-.7,1.4,-1.3,1.8c-.4,.4,-.9,.4,-1.3,0C23.3,23,22.2,22,21.1,22c-.7,0,-.\
9,.4,-1.1,1c-.2,1.8,-.2,3.6,0,5.4v.9h4.2c.2,.4,.1,1.7,-.5,2H20V42.7c0,\
2.4,.3,2.5,3,2.8V47H12.8V45.5c2,-.3,2.2,-.4,2.2,-2.8V31.3H12.7l-.3,-.\
5l1.2,-1.5ZM29.1,47V26.6h7.3v1.6q-3.7,.4,-3.7,3.5V42c0,2.9,0,3,3.7,3.\
4V47Zm8.4,-6.9V33.5c0,-.7,.6,-1.3,1.3,-1.3h6.6c.7,0,1.3,.6,1.3,1.3v6.\
6c0,.7,-.6,1.3,-1.3,1.3H38.8c-.7,0,-1.3,-.6,-1.3,-1.3ZM47.9,47V45.4c3.\
6,-.4,3.7,-.5,3.7,-3.6v-10c0,-3.1,-.1,-3.2,-3.7,-3.6V26.6h7.3V47Z\" \
class=\"g3_1\" />\n\n</g>\n</svg>\n"]
Out[8]=

Import from a byte array:

In[9]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/e0463430-2d98-4a2f-b8a5-db2b5510bad5"]
Out[10]=

Import from a URL:

In[11]:=
ResourceFunction["SVGImport"][
 URL["https://upload.wikimedia.org/wikipedia/commons/8/84/Example.\
svg"]]
Out[11]=

Import a CloudObject:

In[12]:=
co = CloudExport[\!\(\*
GraphicsBox[
{Thickness[0.0033333333333333335`], 
{RGBColor[1., 0.3, 0.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigAKFIocCW67riwtSHWD8A6cWum67nO6w5UTZ
vvnLCh1q7E3jdslmOVjf9++dfq7A4fnvlR8vnc124GHSbhd7m+9w49z34Me1
uQ5+vdPzhBbnQs3Lg5jnkA3nbyjKmPj2Tgac/+XvlYqXk9Lg+rscE55eeJQC
N39GnlDzAaNkuP0Q85Lg7oPxUdwP5CuALOJNhutPATn8cALc/E8ge9Xi4PYL
RFhuOXEsCu6+B1Ui69wfRsDdD+PD/Afjw/wP0w8LH5j5sPCD2Q8LX5j70MMf
AARQqyg=
"],
CurveClosed->{1}]}, 
{RGBColor[1., 0.6, 0.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGQocCW67riwUyHGD8A6cWum4rznLYcqJs
33y2Qocae9O4XXtzHKzv+/dO1ytweP575cdLuXkOPEza7WJr8xxyQAJ8BQ5+
vdPzhJJzHHbItb4O7CiAmMeQBedvKMqY+HZOOpz/5e+VipdBqXD9XY4JTy8s
SoabPyNPqPnAp0S4/RDzEuHug/FR3A/kK4AsWpsK158CcnhyMtz8n3VZe0o2
J8Lt51gjE5XCnAB334MqkXXuinFw98P4MP/B+DD/w/TDwgdmPiz8YPbDwhfm
PvTwBwA3BqIa
"],
CurveClosed->{1}]}, 
{RGBColor[1., 0.9, 0.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGAocCW67riz9kOsD4B04tdN0WnOOw5UTZ
vvlsBQ419qZxu+bmOQB5UvqxeQ6f/16peKlW4MDDpN0utjbHIef575Uf/xU4
+PVOzxNKznLYIdf6OrCiEGIeQwacv6EoY+LbOalw/heQOUHJcP1djglPLyxK
hJtvcFeFrfFpPNx+iHlxcPfB+CjuB/IVQBb1psP1p1jf9+91ToWb/7Mua0/J
5GS4/RxrZKJSHifC3QcxLwHufhgf5j8YH+Z/mH5Y+MDMh4UfzH5Y+MLchx7+
ABcnpfQ=
"],
CurveClosed->{1}]}, 
{RGBColor[0.8, 1., 0.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGPIcCW67riwOyHWD8A6cWum7bnOuQMfFt
jX1vrkONvWncrr/5DmX75kvp3812+Pz3SsXLawUOPEza7WK6WQ45z3+v/Liu
0CGgd3qe0ON0hx1yra8DNYqg5qXC+RuKgCbKJMP5X0DmXEqA6xdpBtkcBzff
4K4KW+PTKLj9EAdHwt0H46O4H8hXAFuUAdefYn3fv3dxGtz8n3VZe0o+p8Dt
51gjE5XinAx3H8S8JLj7YXyY/2B8mP9h+mHhAzMfFn4w+2HhC3MfevgDADyD
pRY=
"],
CurveClosed->{1}]}, 
{RGBColor[0.5, 1., 0.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIID2Q4FtlzXF2/IdoDxD5xa6LpNOM8hY+Lb
GvuzWQ775kvp39UrcCgHMWQzHT7/vVLxkq3QgYdJu10sN90h5/nvlR/vFToE
9E7PE1JOddgh1/o6MKIIal4SnL+hCGhiTAKc/wKo7ZJqDFy/SDPQ5qMRcPMN
7qqwNaaGwu0Hm9cQDHcfjI/ifiBfAWSRbyZcf4r1ff9e5nS4+T/rsvaUBKfC
7edYIxOVsjgZ7j6IeUlw98P4MP/B+DD/w/TDwgdmPiz8YPbDwhfmPvTwBwCR
PqHo
"],
CurveClosed->{1}]}, 
{RGBColor[0.2, 1., 0.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIFMhwJbruuLA7IdYPwDpxa6btuc65Ax8W2N
PW+GQ429adyuv/kO5fvmS+nHpjl8/nul4uW1AgceJu12sbUpDjnPf6/8uK7Q
IaB3ep5QcpLDDrnW14EaRVDzEuD8hKcXlG5bRsP5L4DaLi0Ng+sXagbZHAw3
P26XJw/TaX+4/RDzfODug/FR3e/joLChCOj0DLj+FOv7/r2L0+Dm/6zL2lPy
OQVuP8camagU52S4+yDmJcHdD+PD/Afjw/wP0w8LH5j5sPCD2Q8LX5j70MMf
AElCntU=
"],
CurveClosed->{1}]}, 
{RGBColor[0., 1., 0.1], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGNIcCW67riz9kOsD4B04tdN0WnOOQMfFt
jX1vqkONvWncrrl5DuX75kvp3012+Pz3SsVLtQIHHibtdjHdJIec579XfvxX
4LAAKKtyLN5hh1zr68CKQoh5DNFwfsLTC0q3LcPg/BdAbZeWBsL1q7A1TnXu
9oGbH7fLk4fptCvcfoh5TnD3wfgo7gfyFTYUZUzsTYfrT7G+79/rnAo3/2dd
1p6Syclw+znWyESlPE6Euw9iXgLc/TA+zH8wPsz/MP2w8IGZDws/mP2w8IW5
Dz38AXTpoWo=
"],
CurveClosed->{1}]}, 
{RGBColor[0., 1., 0.4], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGFIcCW67riwUyHGD8A6cWum4rznLImPi2
xr432aHG3jRu194ch/J986X07yY6PP+98uOl3DwHHibtdjHdBIcckABfgcMC
oKzKsWiHHXKtrwM7CiDmMYTD+YlPLyjdtgyC8y98D3681Nsbrl+FrXGqc7cL
3Pw9JZMlWKZZw+2HmGcCdx+Mj+J+IF9hQ1HGxLWpcP0p1vf9e5OT4eb/rMva
U7I5EW4/xxqZqBTmBLj7HlSJrHNXjIO7H8aH+Q/Gh/kfph8WPjDzYeEHsx8W
vjD3oYc/AEHHmWE=
"],
CurveClosed->{1}]}, 
{RGBColor[0., 1., 0.7], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigAKHZIcCW67riwtSHWD8A6cWum67nO6QMfFt
jb1vkkONvWncLtksh/J986X05yY4PP+98uOls9kOEixhfLq3Yh1unPse/Lg2
12GBlP5dFbdIqHl5EPMaQuD8QyBzi/3h/AtAbUu93eD6PXiYtNvF7OHm7ymZ
LMEyzRBuP8TBKnD3wfgo7gfyFTYUZUzkTYbrT7G+7997OAFu/qe/VypeqsXB
7ReIsNxy4lgU3H0PqkTWuT+MgLsfxof5D8aH+R+mHxY+MPNh4QezHxa+MPeh
hz8ARzKcaA==
"],
CurveClosed->{1}]}, 
{RGBColor[0., 1., 1.], Thickness[0.0016666666666666668`], Opacity[1.],
        CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIIDSQ4FtlzXF29IcoDxD5xa6LpNONUhY+Lb
GvuziQ419qZxu2LTHcr3zZfSl01weP575cdLvJkOEixhfLq3YhxunPse/Hhv
lsMCKf27Km4RUPOyIeY1BMP5h0DmFvvC+ReA2pZ6u8D1e/AwabeLWcPNr3ip
Zsihow23H+JgCbj7YHwU9wP5ChuKMib6JsD1nygDOpw9Bm7+p79XKl4ui4Db
LxBhueWEWyjcfQ+qRNa5JwbD3Q/jw/wH48P8D9MPCx+Y+bDwg9kPC1+Y+9DD
HwAJX5pv
"],
CurveClosed->{1}]}, 
{RGBColor[0., 0.7, 1.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigAKHZIcHVSLr3B/GO8D4B04tdN0WnOSQMfFt
jb1vkkONvWncrrkpDuX75kvpz01wePZ75cdLvmkOEixhfLq3Yh1unPse/Phv
usMCKf27Km6RDgW2XNcXf8iAmNcQAucfAplb7A/nXwBqW+rtBtfvwcOk3S5m
Dzd/T8lkCZZphnD7IQ5WgbsPxkdxP5DvkPD0gpJ0NFz/iTKgw9vD4OZ/+nul
4qVaMNx+hQ1FGRN7/eHuO/BVI6b/kDfc/TA+zH8wPsz/MP2w8IGZDws/mP2w
8IW5Dz38AZAGoHY=
"],
CurveClosed->{1}]}, 
{RGBColor[0., 0.4, 1.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGFIcHVSLr3B9GOcD4DVOdu3OWxztkTHxb
Y9+b7FBjbxq3SzbJoXzffCn9u4kOz36v/HjpbLIDD5N2u5hugsONc9+DH9em
OiwAyqoci3YosOW6vrggDWIeQzicn/j0gtJtyyA4/wJQ21Jvb7h+FbZGoM0u
cPP3lEyWYJlmDbcfYp4J3H0wPor7gXyHBKBF0mFw/SfKgA5vD4Sb/wRkvq8P
3H6FDUUZE3td4e478FUjpv+QI9z9MD7MfzA+zP8w/bDwgZkPCz+Y/bDwhbkP
PfwBnd6fvw==
"],
CurveClosed->{1}]}, 
{RGBColor[0., 0.1, 1.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGNIcHVSLr3B+GOcD4DVOdu3OWRztkTHxb
Y9+b6lBjbxq3SzbBoXzffCn9u8kOz36v/HjpbKIDD5N2u5huksONc9+DH9cm
OywAyqoci3cosOW6vrggBWIeQzScn/D0gtJtyzA4/wXInKWBcP0qbI1Am33g
5sft8uRhOu0Ktx9inhPcfTA+ivuBfLBF0kFw/ROA3jDl84abD7bX1wVuP0S9
Ndx9Da8Dd8i1GsPdD+PD/Afjw/wP0w8LH5j5sPCD2Q8LX5j70MMfALtrnhQ=

"],
CurveClosed->{1}]}, 
{RGBColor[0.2, 0., 1.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIFMhwdVIuvcE0McYPyGqc7dOeqRDhkT39bY
82Y4/KjL2lOyO9ahfN98Kf3YNIdnv1d+vNSb4MDDpN0utjbF4ca578GPbZMc
Anqn5wklJzkU2HJdX2yQDDUvAc5PeHpB6bZlNJz/AmTO0jC4fqHmA6cWugbD
zY/b5cnDdNofbj/EPB+4+2B8VPcD5UHGmPnD9U8AesOUzw1u/gWgdUtn28Ht
BztM2hDuPobri4FOVIa7H8aH+Q/Gh/kfph8WPjDzYeEHsx8evlD3oYc/ACBA
mR0=
"],
CurveClosed->{1}]}, 
{RGBColor[0.5, 0., 1.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIID2Q4PqkTWuScGO8D4DVOdu3PUIxwyJr6t
sT+b5fCjLmtPye4Yh/J986X0ZTMdnv1e+fESb4IDD5N2u1huusONc9+DH+9N
dAjonZ4npJzqUGDLdX3xhiSoeUlw/oYioIkxCXD+C5A5qjFw/SLNB04tPBoB
N9/grgpbY2oo3H6weQ3BcPfB+CjuB8kDjXE184XrnwD0himfC9z8C0Drls62
gtsPUa8Fdx/DOveHVSJicPfD+DD/wfgw/8P0w8IHZj4s/GD2w8MX6j708AcA
admibA==
"],
CurveClosed->{1}]}, 
{RGBColor[0.8, 0., 1.], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGPIcHVSLr3BNDHGD8hqnO3TnqkQ4ZE9/W
2PfmOvyoy9pTsjvWoWzffCn9u9kOz36v/HipN8GBh0m7XUw3y+HGue/Bj22T
HAJ6p+cJPU53KLDlur7YIBlqXiqcv6EIaKJMMpz/5e+VipeXEuD6RZoPnFro
Ggc33+CuClvj0yi4/RAHR8LdB+OjuB8kDzLGzB+ufwLQG6Z8bnDzLwCtWzrb
Dm6/Q8LTC0rShnD3MVxfDHSiMtz9MD7MfzA+zP8w/bDwgZkPCz+Y/fDwhboP
PfwBE4GfXg==
"],
CurveClosed->{1}]}, 
{RGBColor[1., 0., 0.9], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGAocHVSLr3B+GOcD4DVOdu3OWRztsOVG2
bz5bgUONvWncLtkEByBPSj82z+HZ75UfL51NdOBh0m4XW5vjcOPc9+DHtckO
fr3T84SSsxwKbLmuLy5IgZjHkAHnbyjKmPh2Tiqc/+XvlYqXQclw/V2OCU8v
LEqEm29wV4Wt8Wk83H6IeXFw98H4KO4H8h2AxihJB8H1T3gLNIHPG27+C5D5
vi5w+yHqreHua3gduEOu1Rjufhgf5j8YH+Z/mH5Y+MDMh4UfzH5Y+MLchx7+
AF2pop4=
"],
CurveClosed->{1}]}, 
{RGBColor[1., 0., 0.6], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKGQocHVSLr3B9GOcD4DVOdu3OWxztsOVG2
bz5boUONvWncLtkkB+v7/r3T9Qocnv1e+fHS2WQHHibtdrG1eQ43zn0Pflyb
6uDXOz1PKDnHocCW6/rigjSIeQxZcP6GooyJb+ekw/lf/l6peBmUCtff5Zjw
9MKiZLj5M/KEmg98SoTbDzEvEe4+GB/F/UC+A9AYJekwuH6QN6TaA+HmPwGZ
7+sDt18B5LBeV7j7DnzViOk/5Ah3P4wP8x+MD/M/TD8sfGDmw8IPZj8sfGHu
Qw9/AJMdqHg=
"],
CurveClosed->{1}]}, 
{RGBColor[1., 0., 0.3], Thickness[0.0016666666666666668`], Opacity[
       1.], CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigAKFIocHVSLr3B/GO8D4B04tdN0WnOSw5UTZ
vvnLCh1q7E3jds1NcbC+7987/VyBw7PfKz9e8k1z4GHSbhd7m+9w49z34Md/
0x38eqfnCS3OdSiw5bq++EMGxDyHbDh/Q1HGxLd3MuD8L3+vVLyclAbX3+WY
8PTCoxS4+TPyhJoPGCXD7YeYlwR3H4yP4n4g3wFojJJ0NFw/yBtS7WFw8z+B
7FULhtuvAHJYrz/cfQe+asT0H/KGux/Gh/kPxof5H6YfFj4w82HhB7MfFr4w
96GHPwBNJK82
"],
CurveClosed->{1}]}, 
{RGBColor[1., 0., 0.], Thickness[0.0016666666666666668`], Opacity[1.],
        CapForm["Round"], JoinForm[{"Miter", 3.25}], JoinedCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxTTMoPSmVmYGBgBGJJIGZigIKEIocCW67rizckOcD4B04tdN0mnOqw5UTZ
vvnPCh1q7E3jdsWmO1jf9++dzlfo8Pz3yo+XeDMd2BqnOnebFTjcOPc9+PHe
LAe/3ul5Qsp5UPOyIeYdyIbzNxRlTHwbkwnnf/l7peKlUDpcf5djwtMLSalw
82fkCTUf2JQMtx9iXhLcfTA+ivuBfAWQRb4JcP0gb0ixx8DN/wSyd1kE3H6B
CMstJ9xC4e57UCWyzj0xGO5+GB/mPxgf5n+Yflj4wMyHhR/Mflj4wtyHHv4A
hFao0w==
"],
CurveClosed->{1}]}},
AspectRatio->Automatic,
ImageSize->{67.33333333333333, 67.33333333333184},
PlotRange->{{0., 300.}, {0., 300.}}]\), "SVG"]
Out[12]=
In[13]:=
ResourceFunction["SVGImport"][co]
Out[13]=

Import a LocalObject:

In[14]:=
lo = Export[LocalObject[], Plot[{Sin[x], Sin[2 x], Sin[3 x]}, {x, 0, 2 Pi}, PlotLegends -> "Expressions"], "SVG"]
Out[14]=
In[15]:=
ResourceFunction["SVGImport"][lo]
Out[15]=

Options (6) 

ShowWarnings (3) 

By default, warnings about potential conversion issues are not shown. In this example, some complex gradients were not converted correctly:

In[16]:=
ResourceFunction[
 "SVGImport"]["https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/\
car.svg"]
Out[16]=

See the expected appearance:

In[17]:=
SystemOpen["https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/car.\
svg"]

Show warnings to see details about conversion problems:

In[18]:=
ResourceFunction[
 "SVGImport"]["https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/\
car.svg", "ShowWarnings" -> True]
Out[18]=

IntermediateFormat (3) 

By default, SVGImport uses "PDF" as an intermediate format, which sometimes encounters issues with gradients:

In[19]:=
gfx = Graphics[
  Polygon[{{-1, 0}, {1, 0}, {0, Sqrt[3]}}, VertexColors -> {Red, Green, Blue}], Background -> Black]
Out[19]=
In[20]:=
Export["triangle.svg", gfx]
Out[20]=
In[21]:=
ResourceFunction["SVGImport"]["triangle.svg"]
Out[21]=

Using "PNG" as the intermediate format can improve results in some cases:

In[22]:=
ResourceFunction["SVGImport"]["triangle.svg", "IntermediateFormat" -> "PNG"]
Out[22]=

The result will no longer be scalable vector graphics, however:

In[23]:=
Magnify[%, 3]
Out[23]=

Properties and Relations (2) 

"SVG" is a supported format for Export, but not Import:

In[24]:=
Export["cards.svg", ResourceFunction["PlayingCardGraphic"][{1, 10, 11, 12, 13}]]
Out[24]=
In[25]:=
Import["cards.svg"]
Out[25]=

Use SVGImport to import SVG files:

In[26]:=
ResourceFunction["SVGImport"]["cards.svg"]
Out[26]=

SVG files contain scalable vector graphics, so the results of SVGImport are scalable as well:

In[27]:=
Export["wolf.svg", \!\(\*
GraphicsBox[
{Thickness[0.0013020833333333333`], 
{FaceForm[{RGBColor[0.8666670000000001, 0.06666670000000002, 0.], Opacity[1.]}], FilledCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1,
        3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}, {0, 1, 0}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {
       1, 3, 3}, {1, 3, 3}}}, CompressedData["
1:eJxdVGtIFFEU3nyEmCzaC8mMVTQMC/GHhIb0aahZSWQpWmaLaJnumo9d3XVH
3Z3ZHbUSE00tK7GwB0RomJmUZGpaoplki5m9JCwq8oFJiNBcz/5q4HLnnjlz
zvkeM14pZ2LT7GUy2SpphUvLTlpeLbnpVZMFkO+4f/X3uIj9O8vDlKZc1O45
p5q2ivA8mrrr44kMJFU+W/AbtCBM+XXEuzQFNxt6FS2LAjwCJn1WB8bBNSG4
bcCHR8+CX1JleCTWCk9fNnmWQMaumXD84nYHJXfpUePuEC+PAQq6GjcFWLW4
/Vzq2B2JudGYFNcPOTgy1dzQmxCL+iypQqcKr70n/hbziRhhe0gerke0zy/r
lDSnp47yvqShnwXOczjA4pZTNN+nIiR3RrvYHTtN+b4lCGkbyO/KzETGY021
u58RcQz4lBp9ComIPyaop5fuzJ7NpjpPBKRXSZM75mGfi51/aZCFeKqyncss
NPd2DVjZxjHbeVSD0o3jw4seIhg9piYt5feb0czmqs0nPvUCCtffi/p8sgD6
71sDnXx5wrlVD0b7wRkem9nNq0LM3JKI6hcIRwFHulwzEz/vOOp7iafdvQjS
2xV1lUaa6xtHusiLCN9PDv5swBccGOyqHo7iuRzhW1OEdUy/KFtcVoJyJnx6
IfW/YkQ109GqI5wPTKR3hM1Hj3is+GpcCzfmi26B+us0xOeQGQaG2zuPeA41
k08u51CfVoH0dMqmuFyAK6sfqiZdZ3mU/TjUsaVJRfndPN4PLx6e0qrIVzU8
ZpjfclWIZryXmADm2ygV6aA20nO5mvhpK8bdWYk4jZr8MWagehuyUMf89dAE
hUVqGB9Pvknl0TG//EbXmkjzOQrYy+rWHqdzvYALkrxJS0rCnWohHe3T6f0K
EcGsz1A2fWeDIt7qJAOMaAmPWyntzga0sz4JIvkj2Ej1Jf5WcCTyFI8UyB8G
M9jno5gzkp8dRNK5jyOdLoqk6zYDQp2tN7J7Rco360mXCRH//w/+AZhY3b4=

"]]}, 
{FaceForm[{RGBColor[1., 1., 1.], Opacity[1.]}], FilledCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1,
        3, 3}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}, {0, 1, 0}, {
       1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}}}, CompressedData["
1:eJw1VAlIVFEUNYuMMjFbELNsNUtaIaTFOpZlm4RGJaY52TYzOv/Pn/n/z9SY
OvNtRyykhULNso0ixFZDTSIygsrMFiupaCfKSkJCgt7tTgOP9++8e+8795x7
38hsOXVjz4CAgB5iJYsVKFZk+oZZr2QVs14tLz7UVITmUS9+51c54GqoiJgc
WYTH7s/RUw8qmFhT1nF6kIEZl+7oDU12WOvU0vBQH0rDe60K6W+Hef/XvLnj
vXDSR7cESrt8RiEmt4/p7R1g4/Mb+ej79IQ9fpIV14Zv/5JSvo39s8wYWe0w
7+/yYHWIuOnBJgTQL20rplB82XrO066j+JAUZhxbh4eEM9rJuyMLZ360JGd/
kjCUHD9nsv0yBzuHtN3vcmYg1Gi8W3nPjMS9uR+7e6xBK8U1bMQ58qvbgEXB
gbE7P6zGqaO3RlRPseMf0PqFGEaFxOvYR3kezQPB69C2sF0K9r+eB/vH7rM/
ahL5vL4AIzJKbv76lIzjC650/qlycx2DZcwk/tpceHa/a8Xb8TL793PBdH1x
cGCUjFgCnKBDeB+YP19GPOE4qyGNHEtk5jtIQ6LpffMoYf/DZ1Hx7qQAcsaf
r1ZBo5Cn1wcZokprXagElXgukLEsbneCqd7M/NyRWM84C+dZoGDc1D7nI29b
YSG9Rvv5zbbhtWgPaYfK8VoO90enyvFOC9eXpKGF/K2bsYb036thLNURZWZ7
qc56V1jQKa4PbdThILvTyjxOc7HuplzMobpPuBBN8S9szEuQG4eF/I3Zfh6y
3BhIuqZIvF91QSHCZtvwLW/u9LXBLu6XfbloWiqAJ+qM96LE/ThMB5kVq+yc
r0zDV4pbqDCOcL8dbcdl8vvpRBvptlJi/Mcc7Bdjg+jma8OjFNyme3bZmU9N
4fgdDriJr0oFYYSzQOX/0xXWq8qH72Snyly314Bg+X1zq/98nYGbv2IySnz+
+5IM1NL8zHby3PYzeD7uOZEp2i7muY/9hqigtqgu93HeBBUdpwXCHB88gy4k
vSlSsUWMd5+7hcyXqsNGfXwkn89b3YyzzsP5kz2se5uH+fyeD9pMtR5EEQGL
vczjAb8dYXB87638fqT7WGerm/u60svvyxOd++pdIXLp/hCd+ZvmwwTSfb2G
PcTHdoN12KNyHzwswv/3awnNr3i//gJ+oSBs
"]]}, 
{Thickness[0.0013020833333333333`], FilledCurveBox[{{{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1,
         3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}, {{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}, {0,
         1, 0}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}, {0,
         1, 0}, {1, 3, 3}, {1, 3, 3}}, {{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}, {{1, 4, 3}, {0, 1, 0}, {0, 1, 0}, {1, 3, 3}, {
        1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}, {1,
         3, 3}, {1, 3, 3}}, {{1, 4, 3}, {1, 3, 3}, {1, 3, 3}, {1, 3, 3}}}, {CompressedData["
1:eJxTTMoPSmViYGCQBGIQDQY1LQ4otE0ThN7T5iDcfODUwtg6CJ+hA0pXwPnv
auxN4xYVosoLpMP1g2mFGFTzHVxQ7QECIRR7YKACzn+LbA9MP8wemPkwGiYO
VIfqPkxzhbHZC3MXzB6Yu2Hmw/wFswfo77fYwgEpnFD8B9MPswcp/AFh+EFb

"], CompressedData["
1:eJxTTMoPSmViYGCwAGIQDQYFiQ4wOmPi2xp7yQQHgeYDpxaeTXLwSxKIsNwS
6yAC4jumOGz7/PdKRWY0RP5kqoMwiE5MdADqMo1bVQShn6VC6E/VENos16F8
33wp/fV1Du9A/KYCh6MKG4oyGBoh9goUQuiSZoj6uhIIf18LRF90KVwerH9T
GYR/ogFCLyiH6PtX59DpmPD0wppqiLs+VjkcAdnzogEi/gJqzrcmiPzFYoj5
us0QenIx3B6w/M1CDL71ff/e6fObHB78rMva05IP1we2v6sQoo6zCEKvLITY
O6EALn8bpK8k10EIJG9bCBHXg5qTXAzRlwvVJ1NKkH8HZF4OVL96GcS8azkQ
fjiUPy0X4g+Tcoj+Tqh6/woIzVwAkZ9TATGPJx/Cz4Hy36RD+FfKIHyddIi5
VaUOamyNU51nZ0HkeaDhK5CLGo94+GD3OGZC3DEdmn7aMiDqJuRh8MH0C6j/
VQqgdBkkPWpC3e0CTR8c+RD5EAQfEs5o/OkVDh/A6TYPkr5m1TtMkGAJ4/P1
g8jr1zoE8DBpt7O5Q9w7t8rhACgf/HSCyP8uh/PB8q5FEPMVnKHhnQlJL2uC
4PkMRgMAB6tWGw==
"], {{384., 553.949}, {410.551, 579.449}, {414.449, 583.352}, {439.949, 607.949}, {441.89799999999997`, 558.898}, {441., 533.398}, {438., 473.39799999999997`}, {
        423.301, 488.10200000000003`}, {393.75, 506.852}, {393.75, 506.852}, {393.75, 506.852}, {387.89799999999997`, 541.352}, {
        384., 553.949}}, CompressedData["
1:eJxTTMoPSmViYGAwAGIQDQZLmh0e/KzL2lOS6FC+b76UPn+zgwZb41Rn5zgH
m/v+vdMzmxwOfP57pcIzyuGIwoaijF2NDh48TNrt18IcOh0Tnl7gqXEQaD5w
auHNXIi8RKMD2NyGHOz8SU0OIiD1D7MdrEHmP2+Cy4PtM212uANyzx+o+nst
DsIg9ZrFxPFlGhze1tibxulVQsz9UeMgBJKvrYHwI2ohNFcjRF9nDUTfgRY4
HxwOO6F81SqIP1uaIeZeg5ob1uzwDsQvKofIWzVB1KeWQfivmiH0i1KIP+tb
IPrvlUDEDdog9J5CCP2sBeLvNXkQ9dubIOrtsiH26UD9FZcM4f+pdrgNUu8T
DbH3YAmUH+TwAaTOLNdhOyjeIj0h/mkuhOhTcIaEx9YSOB+SECrgfLA9u2oh
5q0JcjgKCp850HgsSHSApRtIeGVC5Fe1QviuRRD5c22o5gL576Dmwvjg+J7b
CNcPMxdGH4GKW0PVwfRBwq0Wpz1g/zoXwfWDw6MvE9V8oD8AxSAqBA==
"], {{420., 361.64799999999997`}, {437.551, 366.449}, {439.5, 367.352}, {
        456.89799999999997`, 372.301}, {434.551, 388.801}, {410.25, 406.199}, {377.39799999999997`, 401.39799999999997`}, {
        374.39799999999997`, 392.699}, {371.551, 385.949}, {
        369.60200000000003`, 376.199}, {385.199, 378.14799999999997`}, {401.551, 372.301}, {420., 361.64799999999997`}}}]}},
AspectRatio->Automatic,
ImageSize->25,
PlotRange->{{0., 768.}, {0., 768.}}]\)]
Out[27]=
In[28]:=
wolf = ResourceFunction["SVGImport"]["wolf.svg"]
Out[28]=
In[29]:=
Table[Magnify[wolf, n], {n, 5}]
Out[29]=

Possible Issues (2) 

Dynamic javascript content will not work:

In[30]:=
ResourceFunction[
 "SVGImport"]["https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/\
USStates.svg"]
Out[30]=

Animations are also not supported:

In[31]:=
ResourceFunction[
 "SVGImport"]["https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/\
scimitar-anim.svg"]
Out[31]=

Resource History

Related Resources

License Information