id: 762859c66b7b4924a1c63ec46829b70b
parent_id: 
item_type: 1
item_id: 8823acd27c1f4ce39c3eb68d0711fb1d
item_updated_time: 1764345579250
title_diff: "[{\"diffs\":[[1,\"inkscape 命令行转换svg为emf_StarDust_HUST\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":35}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>inkscape 命令行转换svg为emf_StarDust_HUST</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"14363\\\"></a>\\\r\\\n<h1>inkscape 命令行转换svg为emf_StarDust_HUST</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><div style=\\\"-evernote-webclip:true\\\"><br/><div style=\\\"font-size: 16px; display: inline-block;\\\"><div style=\\\"font-family:inherit;font-style:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-variant:inherit;vertical-align:baseline;background-color:transparent;text-size-adjust:100%;-webkit-font-smoothing:antialiased;overflow:visible;\\\"><div style=\\\"font-family:&quot;Helvetica Neue&quot;, Helvetica, STHeiTi, &quot;Microsoft YaHei&quot;;font-style:normal;font-weight:normal;font-stretch:normal;font-size:100%;font-variant:normal;vertical-align:baseline;text-size-adjust:100%;background:rgb(136, 136, 136);color:rgb(0, 0, 0);-webkit-font-smoothing:antialiased;\\\"><div style=\\\"font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;overflow:hidden;\\\"><div style=\\\"font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;\\\"><div style=\\\"font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;\\\"><div style=\\\"font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;background:rgb(251, 251, 251);border-radius:0.16em;\\\"><div style=\\\"font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;\\\"><div style=\\\"font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;\\\"><div style=\\\"font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;box-sizing:border-box;\\\"><div style=\\\"font-stretch:inherit;text-size-adjust:100%;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;font-size:inherit;font-family:inherit;vertical-align:baseline;display:block;margin:0px 0.9375em;\\\"><h1 style=\\\"margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;text-size-adjust:100%;text-align:left;font-family:inherit;vertical-align:baseline;padding:0.2173em 0px 0.5172em;font-size:1.45em;word-break:break-all;word-wrap:break-word;color:rgb(43, 43, 43);\\\">inkscape 命令行转换svg为emf</h1><div style=\\\"font-stretch:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;font-family:inherit;color:rgb(153, 153, 153);font-size:0.75em;padding-bottom:1em;\\\"><span style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:middle;padding-left:0px;border-right:1px solid rgb(230, 230, 230);padding-right:0.83333em;\\\">2014-12-19 23:31</span><span style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:middle;border-right:none;padding-right:0.83333em;padding-left:0.833333em;\\\">阅读：<span style=\\\"font-weight:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;\\\">382</span></span></div><div style=\\\"margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;padding:0px;font-family:inherit;color:rgb(51, 51, 51);font-size:1.06em;padding-bottom:0.5882em;padding-top:0.117647em;word-break:break-word;word-wrap:break-word;overflow:hidden;\\\"><div>inkscape -f test.svg -M a.emf</div><div><br/></div>\\\nStep 1: svg2emf.bat<br/>\\\n@echo off<br/>\\\nfor %%i in (*.svg) do (<br/>\\\necho %%i<br/>\\\ninkscape -f %%i -M %%i.emf<br/>\\\n)\\\n<div>pause &gt; nul</div><div><br/></div>\\\nStep 2: rename.py<br/>\\\n# -*- coding: utf-8 -*-<br/>\\\nimport os<br/>\\\nfileList = []<br/>\\\nrootdir = './'<br/>\\\nfor root, subFolders, files in os.walk(rootdir):<br/>\\\nif '.svn' in subFolders: subFolders.remove('.svn') # 排除特定目录<br/>\\\nfor file in files:<br/>\\\nif file.find('.svg.emf') != -1:# 查找特定扩展名的文件<br/>\\\nfile_dir_path = os.path.join(root,file)<br/>\\\nfileList.append(file_dir_path)<br/>\\\nprint fileList<br/>\\\nprint fileList[0]<br/>\\\nfor i in range(len(fileList)):<br/>\\\nnewFileName = fileList[i].replace('.svg.emf','.emf')<br/>\\\nos.rename(fileList[i], newFileName)<br/>\\\n如果报WindowsError: [Error 183]；则是因为重命名的新文件已存在。<br/>\\\nReference:<br/><a href=\\\"http://tavmjong.free.fr/INKSCAPE/MANUAL/html/CommandLine-Export.html\\\" style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:baseline;text-decoration:none;outline:0px;color:rgb(51, 51, 51);font-weight:700;\\\">http://tavmjong.free.fr/INKSCAPE/MANUAL/html/CommandLine-Export.html</a><br/><a href=\\\"http://inkscape.org/doc/inkscape-man.html\\\" style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:baseline;text-decoration:none;outline:0px;color:rgb(51, 51, 51);font-weight:700;\\\">http://inkscape.org/doc/inkscape-man.html</a><br/>\\\nThe End<br/>\\\n-------------------------------更新--------------------------------<br/>\\\n一次性到位,同时转成pdf\\\n<div><br/></div><div style=\\\"box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902);\\\"><div><span style=\\\"color: rgb(45, 79, 201);\\\">Step 1: svg2emf.bat</span></div><div><span style=\\\"color: rgb(45, 79, 201);\\\">@echo off</span></div><div><span style=\\\"color: rgb(45, 79, 201);\\\">for %%i in (*.svg) do (</span></div><div><span style=\\\"color: rgb(45, 79, 201);\\\">echo %%i</span></div><div><span style=\\\"color: rgb(45, 79, 201);\\\">inkscape -f %%i -M %%~ni.emf</span></div><div><span style=\\\"color: rgb(45, 79, 201);\\\">inkscape -f %%i -A %%~ni.pdf</span></div><div><span style=\\\"color: rgb(45, 79, 201);\\\">)</span></div><div><span style=\\\"color: rgb(45, 79, 201);\\\">@echo Finished</span></div></div><div><br/></div></div></div><div style=\\\"font-weight:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;\\\"><div style=\\\"font-weight:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline;\\\"><div style=\\\"background:rgb(240, 240, 240);border:none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:0.875em;padding:0px 0.9375em;font-family:inherit;vertical-align:baseline;word-wrap:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:2px;margin:0px 1em 0.6875em;\\\"><span style=\\\"margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;font-family:blog;color:rgb(102, 102, 102);overflow:hidden;display:inline-block;font-size:2.47em;vertical-align:middle;height:0.47em;margin-right:0.2em;\\\">\\\\</span><a href=\\\"http://sax.sina.com.cn/dsp/click?t=MjAxNy0wNC0xNCAxNjoxODo1NC4zNzAJMTE2LjIyOC4yMjcuMTAJX18xMC4xMy4yNDAuNTlfMTQ3OTgyNTY2NV8wLjEwMDczMDAwCTJiNDk2MGIzLTJmYzktNDY5My05ZWYxLTdlMDlhNzJlZGU4Nwk3Mjg1ODkJNTg0MDIyODAzMl9QSU5QQUktQ1BDCTI2MTQ5NQk0ODI3OQkwLjAwMjMzMjM3CTEJdHJ1ZQlQRFBTMDAwMDAwMDU0NzgzCTE4MjM2NzEJV0FQCXRleHQJLQkwfDcyODU4OXxudWxsfG51bGx8Ymp8Mjc1VEs1T2xweDlvRU1hR2lPUGs4bXw2S2FLQ0hEZVJZT0wzeWZTMm5yU3BICW51bGwJMQktCS0JLQkwCV9fMTAuMTMuMjQwLjU5XzE0Nzk4MjU2NjVfMC4xMDA3MzAwMAlXQVBfVEVYVAktCXV2Zm1ydC1ub3RnLWlkZWEtcjE1CS0=&amp;userid=__10.13.240.59_1479825665_0.10073000&amp;auth=6aeb1afd107f210f&amp;p=gM42geXaMlygmXwNWaOnn7E3uxK%2FGe299hy%2F0w%3D%3D&amp;url=http%3A%2F%2Fsax.sina.cn%2Fclick%3Ftype%3D2%26t%3DODBjZTM2ODEtZTVkYS0zMjVjLWEwOTktN2MwZDU5YTNhNzlmCTE3CVBEUFMwMDAwMDAwNTQ3ODMJMTgyMzY3MQkxCVJUQgkt%26id%3D17%26url%3Dhttp%253A%252F%252Fjs.zhanggao01.com%252F%26sina_sign%3D405b36cb8e6cbafb&amp;sign=4f466105a9094581\\\" style=\\\"font-family:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;padding:0px;outline:0px;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);text-decoration:none;color:rgb(102, 102, 102);vertical-align:middle;display:inline-block;overflow:hidden;text-overflow:ellipsis;width:91.2%;\\\" target=\\\"_blank\\\">教你一个轻松改善近视的方法</a></div></div><div style=\\\"font-stretch:inherit;margin:0px 0.9375em;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:1.875em 0px 2.4375em;font-size:inherit;font-family:inherit;vertical-align:baseline;background:#fbfbfb;\\\"><h4 style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;text-size-adjust:100%;font-family:inherit;vertical-align:baseline;text-align:center;padding:0px 1.25em;position:relative;\\\"><span style=\\\"font-stretch:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;vertical-align:baseline;font-family:inherit;font-size:1em;padding:0px 0.9375em;color:rgb(79, 79, 79);background:rgb(251, 251, 251);\\\">分享</span></h4><ul style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:baseline;list-style:none;text-size-adjust:100%;width:100%;display:inline-table;\\\"><li><a href=\\\"#\\\" style=\\\"margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;padding:0px;font-family:inherit;vertical-align:baseline;outline:0px;text-decoration:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);color:rgb(102, 102, 102);display:block;\\\"><span style=\\\"font-stretch:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;font-family:inherit;font-size:0.8125em;display:block;color:rgb(79, 79, 79);\\\">我的博客</span></a><a href=\\\"http://api.bshare.cn/share/sinaminiblog?url=http://blog.sina.com.cn/s/blog_903af8d60102va6w.html&amp;title=%E5%88%86%E4%BA%AB%E8%87%AAStarDust_HUST%E3%80%8Ainkscape %E5%91%BD%E4%BB%A4%E8%A1%8C%E8%BD%AC%E6%8D%A2svg%E4%B8%BAemf%E3%80%8B&amp;content=%20inkscape%20-f%20test.svg%20-M%20a.emf%20%20%20Step%201:%20svg2emf.bat%20%20%20%20%20%20@echo%20off%20%20%20for%20%%i%20in%20(*.svg)%20do%20(%20%20%20...%20%20(%E6%9D%A5%E8%87%AA%20@%E5%A4%B4%E6%9D%A1%E5%8D%9A%E5%AE%A2)\\\" style=\\\"margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;padding:0px;font-family:inherit;vertical-align:baseline;outline:0px;text-decoration:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);color:rgb(102, 102, 102);display:block;\\\" target=\\\"_blank\\\"><span style=\\\"font-stretch:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;font-family:inherit;font-size:0.8125em;display:block;color:rgb(79, 79, 79);\\\">微博</span></a></li></ul></div><div style=\\\"font-stretch:inherit;margin:0px 0.9375em;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px 2.1875em 1.25em 0px;font-size:inherit;font-family:inherit;vertical-align:baseline;position:relative;\\\"><div style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:baseline;position:absolute;top:0px;right:0.3125em;\\\"><span style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:baseline;position:relative;display:inline-block;padding-top:0.59375em;\\\"><a href=\\\"http://blog.sina.cn/dpool/blog/s/blog_903af8d60102va6w.html?vt=4#\\\" style=\\\"font-size:inherit;margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;font-family:inherit;vertical-align:baseline;color:rgb(6, 85, 136);text-decoration:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);outline:0px;\\\"></a></span></div></div></div></div></div></div></div></div></div></div></div></div></div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":13144}]"
metadata_diff: {"new":{"id":"8823acd27c1f4ce39c3eb68d0711fb1d","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348827225,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:03.092Z
created_time: 2025-11-28T21:04:03.092Z
type_: 13