Convert JPG to SVG
Trace a JPG into clean SVG outlines. JPEG compression softens every edge and speckles the flat areas before you start, so the speckle filter and the palette size are the two controls that matter here.
- 输入
- JPG
- 输出
- 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。
格式速览
| 格式速览 | JPG · 输入 | SVG · 输出 |
|---|---|---|
| 类型 | Raster. A grid of pixels, stored in 8x8 blocks. | Vector. Paths described in XML. |
| 缩放特性 | Blurs past its native size, and the block artefacts scale with it. | Sharp at any size. |
| 颜色 | Up to 16.7 million colours, no alpha channel. Lossy. | 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. |
| 典型用途 | Photographs, camera output, anything a client emails you. | Web, icons, print artwork, the input to a cutter workflow. |
值得了解
JPEG is lossy and block-based: an 8x8 block near a hard edge gets ringing, and a flat colour area picks up a faint grid. Both are invisible at 100% and very visible to a tracer that thresholds. Raising the speckle filter drops the ringing before it becomes a path; lowering the palette merges the block-to-block colour drift back into one fill.
JPEG has no alpha channel, so a JPG of a logo always arrives on a background. Trace it, then delete the background path — it is the largest one and usually the first in the file.
If the JPG is a photograph rather than a mark, switch to the photo preset. A traced photograph is a stylised, posterised version of it, which is the honest description: sixty-four flat fills cannot be a photograph, and any converter that says otherwise is showing you a bitmap in a wrapper.
工作原理
Drop the JPG
Drop, paste or choose a JPG or JPEG. The browser decodes it and the worker takes the pixels from there.
Raise the speckle filter
JPEG artefacts trace as tiny regions. Push the speckle filter up until the path count stops falling, then stop.
Export the SVG
Delete the background path in your editor if the JPG had one — JPEG cannot store transparency, so there always is one.
基准测试
用数据说话,而非营销话术。语料库、测试方法以及本次测试产生的每一项数据均全部公开。
测试方法 → /benchmarks- boundary error, p95
- 0.09 px
- region-count error
- 0.000
- node-count ratio
- 1.00×
常见问题
- 01Is JPEG the same as JPG here?
- Yes — same format, same decoder, same page. The extension differs for historical reasons (DOS allowed three characters), so /convert/jpeg-to-svg permanently redirects here rather than existing as a second copy.
- 02Why does my traced JPG have speckles the original does not?
- Those are JPEG artefacts being traced faithfully. Raise the speckle filter so regions under that many pixels are dropped, and lower the colour count so near-identical blocks merge into one fill.
- 03Does the photo leave my computer?
- 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.
相关内容
相关转换