Convert PNG to SVG
Drop a PNG and get an SVG made of real paths — one fill per colour, editable in Illustrator or Inkscape. The image is traced in this tab and never uploaded.
- 输入
- PNG
- 输出
- SVG
- 引擎
- WASM,在您的标签页中运行
- 价格
- 免费预览
将图像拖放到此处,或直接粘贴
您的图像绝不会被上传,它会在此标签页中完成描摹。打开完整转换器
预设
- 01标志 — 本页所用设置16 种颜色
- 02线稿黑白
- 03照片64 种颜色
- 04刺绣8 种颜色 · 镂空
- 05刻字膜4 种颜色 · 镂空
- 06激光黑白 · 多边形
- 输出 · SVG · PDF · EPS · DXF
- 预览免费 · 使用 Pro(每月 €9.00)下载
- 您的文件始终留在此标签页中
为什么选择 vectortrace
- 凭证 1 / 3
浏览器内运行,隐私可靠
该引擎是运行在您设备上一个 Worker 中的 WebAssembly 程序。您的图像绝不会被上传 —— 因此没有可泄露的内容,没有需要删除的内容,也无需盲目信任任何一方。
- 凭证 2 / 3
真正可编辑的路径,而非套壳处理
引擎会先将图像划分为若干色块区域,提取区域之间的边界,并对其进行曲线拟合。得到的是真正的几何图形 —— 每个区域一个填充,每个节点都可以自由移动 —— 全部在标签页本地生成,从不经过服务器。
- 凭证 3 / 3
印刷与生产实际使用的格式
SVG 和 PDF 适用于设计稿;EPS 和 DXF 适用于刻字机、雕刻机与刺绣软件。都是真正可用的文件,能在 Illustrator、Inkscape 和 LibreCAD 中打开 —— 而不是内嵌 JPEG 的 SVG。
格式速览
| 格式速览 | PNG · 输入 | SVG · 输出 |
|---|---|---|
| 类型 | Raster. A grid of pixels. | Vector. Paths described in XML. |
| 缩放特性 | Blurs or pixelates past its native size. | Sharp at any size. |
| 颜色 | Up to 16.7 million colours with 8-bit alpha. Lossless. | One solid fill per path, in a palette you can edit by hand. |
| 可编辑于 | Photoshop, GIMP, Affinity Photo. | Illustrator, Inkscape, Figma, Affinity Designer, a text editor. |
| 典型用途 | Screenshots, web images, marks exported from a design tool. | Web, icons, print artwork, the input to a cutter workflow. |
值得了解
A PNG stores a grid of pixels; an SVG stores outlines. Converting one to the other means deciding where an edge is, and a PNG has already blurred that decision into its anti-aliased pixels. The tracer groups the image into colour regions, walks the boundary between them and fits curves to it, so what you get is a handful of Bezier segments per shape rather than a staircase of pixel steps.
PNG carries an 8-bit alpha channel, so transparency survives the trace: fully transparent pixels become holes in the geometry rather than a white rectangle behind the mark. If your PNG has a checkerboard background it was flattened before you got it, and the checkerboard will be traced as artwork.
The logo preset is the default here because most PNGs people vectorise are flat marks. For a scan or an inked drawing switch to line art, and for a photograph switch to photo — the palette size and the speckle filter are what change.
工作原理
Drop the PNG
Drop, paste or choose a PNG. It is decoded by the browser and handed to the worker; nothing is sent anywhere.
Pick a preset
Start on logo for a flat mark, line art for a scan, photo for a photograph. The readouts show paths, nodes, colours and milliseconds as you change it.
Download the SVG
Check the preview at full zoom, then export. The SVG is written in the worker and saved straight from the tab.
基准测试
用数据说话,而非营销话术。语料库、测试方法以及本次测试产生的每一项数据均全部公开。
测试方法 → /benchmarks- boundary error, p95
- 0.09 px
- region-count error
- 0.000
- node-count ratio
- 1.00×
常见问题
- 01Does converting a PNG to SVG upload my file?
- No. The tracer is WebAssembly running in a Web Worker in this tab, so the pixels stay on your machine. There is no upload step, which is also why it keeps working with the network off.
- 02Will the SVG just have the PNG embedded inside it?
- No. Some converters wrap the original bitmap in an <image> element and call the result an SVG; it is the same pixels with an XML header, and it still blurs when you scale it. Every path here is traced geometry, so the file opens as editable outlines.
- 03Can I edit the SVG afterwards?
- Yes. The output is ordinary SVG — one path per colour region, with a plain fill — so Illustrator, Inkscape, Figma, Affinity Designer and a text editor all open it and all let you move a node.
- 04Is it free?
- Previews are free and unlimited — trace as many PNGs as you like, at any resolution. Downloading the file needs Pro at €9.00 per month, tax inclusive.
相关内容
相关转换