新增通用的浏览器自动化扩展插件
This commit is contained in:
33
expand/general-auto/icons/converter.html
Normal file
33
expand/general-auto/icons/converter.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>SVG to PNG Converter</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>SVG 转 PNG 工具</h2>
|
||||
<p>请按照以下步骤操作:</p>
|
||||
<ol>
|
||||
<li>在浏览器中打开 icon16.svg, icon48.svg, icon128.svg</li>
|
||||
<li>右键点击 → 另存为</li>
|
||||
<li>保存为 icon16.png, icon48.png, icon128.png</li>
|
||||
</ol>
|
||||
|
||||
<h3>或者使用在线工具:</h3>
|
||||
<ul>
|
||||
<li><a href="https://cloudconvert.com/svg-to-png" target="_blank">CloudConvert</a></li>
|
||||
<li><a href="https://www.aconvert.com/image/svg-to-png/" target="_blank">Aconvert</a></li>
|
||||
<li><a href="https://svgtopng.com/" target="_blank">SVG to PNG</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>临时解决方案:</h3>
|
||||
<p>Chrome 扩展也可以直接使用 SVG 文件,修改 manifest.json:</p>
|
||||
<pre>
|
||||
"icons": {
|
||||
"16": "icons/icon16.svg",
|
||||
"48": "icons/icon48.svg",
|
||||
"128": "icons/icon128.svg"
|
||||
}
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user