{"id":2313,"date":"2026-04-25T21:51:03","date_gmt":"2026-04-25T19:51:03","guid":{"rendered":"https:\/\/www.albertopassalacqua.com\/?p=2313"},"modified":"2026-04-25T21:51:03","modified_gmt":"2026-04-25T19:51:03","slug":"coverting-svg-documents-to-emf-with-inkscape","status":"publish","type":"post","link":"https:\/\/www.albertopassalacqua.com\/?p=2313","title":{"rendered":"Coverting SVG documents to EMF with Inkscape"},"content":{"rendered":"<p>I have been recently working with Microsoft Word more often, and I want to keep vector graphics quality for technical diagrams. The simplest way to do so is to use SVG files, which Word can import directly. However, when many of them are included in the same document, their rendering slows Word down significantly.<\/p>\n<p>Word can manage EMF files, another vector format, more efficiently. Converting SVG to EMF can be automated using Inkscape and PowerShell with a very simple script:<\/p>\n<p style=\"padding-left: 40px;\"><code>Get-ChildItem -Filter *.svg | ForEach-Object {<\/code><br \/>\n<code>$out = $_.FullName -replace '\\.svg$', '.emf'<\/code><br \/>\n<code>&amp; \"C:\\Program Files\\Inkscape\\bin\\inkscape.exe\" $_.FullName `<\/code><br \/>\n<code>--export-type=emf `<\/code><br \/>\n<code>--export-filename=$out<\/code><br \/>\n<code>}<\/code><\/p>\n<p>If the conversion needs to include all the subdirectories:<\/p>\n<p style=\"padding-left: 40px;\"><code>Get-ChildItem -Recurse -Filter *.svg | ForEach-Object {<\/code><br \/>\n<code>$out = $_.FullName -replace '\\.svg$', '.emf'<\/code><br \/>\n<code>&amp; \"C:\\Program Files\\Inkscape\\bin\\inkscape.exe\" $_.FullName `<\/code><br \/>\n<code>--export-type=emf `<\/code><br \/>\n<code>--export-filename=$out<\/code><br \/>\n<code>}<\/code><\/p>\n<p>Have fun \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been recently working with Microsoft Word more often, and I want to keep vector graphics quality for technical diagrams. The simplest way to do so is to use SVG files, which Word can import directly. However, when many of them are included in the same document, their rendering slows Word down significantly. Word can manage EMF files, another vector format, more efficiently. Converting SVG to EMF can be automated using Inkscape and PowerShell with a very simple script: Get-ChildItem -Filter *.svg | ForEach-Object { $out = $_.FullName -replace &#8216;\\.svg$&#8217;, &#8216;.emf&#8217; &amp; &#8220;C:\\Program Files\\Inkscape\\bin\\inkscape.exe&#8221; $_.FullName ` &#8211;export-type=emf ` &#8211;export-filename=$out } If the conversion needs to include all the subdirectories: Get-ChildItem -Recurse -Filter *.svg | ForEach-Object { $out = $_.FullName -replace &#8216;\\.svg$&#8217;, &#8216;.emf&#8217; &amp; &#8220;C:\\Program Files\\Inkscape\\bin\\inkscape.exe&#8221; $_.FullName ` &#8211;export-type=emf ` &#8211;export-filename=$out } Have fun \ud83d\ude42<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,129],"tags":[],"class_list":["post-2313","post","type-post","status-publish","format-standard","hentry","category-general","category-windows"],"_links":{"self":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/2313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2313"}],"version-history":[{"count":2,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/2313\/revisions"}],"predecessor-version":[{"id":2315,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/2313\/revisions\/2315"}],"wp:attachment":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}