Conversion
图像转 SVG
使用类似 potrace 的描边将栅格图像矢量化为可缩放的 SVG。
Your files stay on your device - processed locally via WebAssembly, never uploaded
Drop image(s) to vectorize
Logos, icons, and clip art work best - JPEG, PNG, WebP, BMP, HEIC
Embed this tool on your website
Copy this code to add the 图像转 SVG to your site for free. It runs entirely in your visitors' browsers - no API key, no usage limits.
<iframe src="https://optipix.art/embed/image-to-svg" width="100%" height="600" style="border:1px solid #e4e4e7;border-radius:8px;" title="图像转 SVG by OptiPix" loading="lazy"></iframe> <p style="font-size:12px">Free tool by <a href="https://optipix.art/image-to-svg">OptiPix 图像转 SVG</a></p>
Love these free tools? Support us a different way.
OptiPix is 100% free with no ads and no limits. Instead of donations, you can support us by trying Arteza — our all-in-one cinema-grade Gen AI creative suite for image, video, and audio generation.
Explore Arteza →Cinema-grade AI generation · Used by creators worldwide
About 图像转 SVG
Last updated: June 2026
OptiPix Image to SVG 可将栅格图像(PNG、JPG、WebP)矢量化为可缩放的 SVG 路径,使用完全在浏览器中运行的 Potrace 风格追踪器。该流程通过可调节阈值(或通过 Otsu 方法自动检测)二值化输入,然后将轮廓追踪为贝塞尔曲线路径。对于彩色图像,该工具会将图像量化为 N 种颜色(2/4/8/16/32),并单独追踪每个颜色层,生成类似 Adobe Illustrator 的图像追踪的多色 SVG。细节级别控件可让您调整路径平滑度、最小特征尺寸和拐角阈值。追踪模式包括:轮廓(单色轮廓)、详细黑白(高细节线条)、彩色(多层)和线条艺术(仅边缘)。输出查看器显示原始栅格图像和矢量 SVG,您可以放大查看栅格图像像素化而矢量图像保持清晰。可另存为 SVG 文件、复制 SVG XML 到剪贴板,或以任意分辨率将 SVG 渲染回 PNG。非常适合将徽标、图标、草图和剪贴画转换为清晰的矢量图,用于打印、Cricut、激光切割或设计工作。
How It Works
图像通过阈值(手动或 Otsu 自动)进行二值化,然后使用 Potrace 风格的追踪器跟随像素轮廓并将其转换为平滑的贝塞尔曲线路径。多色模式通过 K-means 量化为 N 种颜色,并单独追踪每个颜色层,合成为单个 SVG。
Use Cases
- •将 PNG 徽标转换为网站的干净 SVG
- •将手绘草图矢量化为数字艺术
- •追踪剪贴画以供 Cricut 切割
- •将图标转换为 UI 组件库的 SVG
- •准备黑白图像以进行激光雕刻
You Might Also Like
If you find 图像转 SVG useful, check out these related tools: Format Converter, Image Resizer, and Image to PDF. All tools run entirely in your browser with no uploads or signups required.
Explore more: Browse all tools · Step-by-step guides · Tips & tutorials · Compare tools