🖼️

Image to SVG Tracer

Trace PNG, JPG and WebP into SVG with batch queue, colour quantization, overlay and ZIP export.
Vector 📂 Image 👤 ToolCMS 🏷️ v1.4.0 ⚙️ clipboard

上传图片 PNG / JPG / WebP,单张最大 10MB

尚未选择图片
支持批量载入;转换结果可打包为 ZIP。

描摹参数 颜色越少,路径越轻

Logo 模式适合纯色图标;照片会增加路径数量,建议先缩小到 768px 以内。批量转换会复用当前参数。

等待图片

处理自检 按当前参数实时判断

预览与导出 对比 / 原图 / SVG / 叠加

原图
SVG
叠加检查 · 拖动不透明度

矢量结果适合图标、线稿与扁平插画;ZIP 内含 manifest.csv,记录每张图的路径、颜色、体积与相似度。照片描摹会增加节点,上线前请检查路径数量和相似度。

How to Use

📖 What it does

A bitmap has fixed pixels, so enlarging a logo pulled from a screenshot always softens the edge. An SVG is geometry, and it stays sharp on a 4K display.

This tool traces pixel by pixel with a local ImageTracer. It quantizes colours first, then merges adjacent regions of the same colour into paths. You can tune colour count, detail, minimum area and blur.

It works well for flat icons and block-colour illustrations. It does not work well for photographic detail: path count grows and the file can be larger than the source.

✨ Features

  • Load up to eight PNG, JPG or WebP files at 10MB each, switch within the queue and reuse the current options.
  • Quantize 2-32 colours with detail 0.1-4.0, minimum area 1-64, blur 0-4, path precision 0-3 and a maximum edge of 128-1600.
  • Sample four corners and flood from the border to remove a solid background; enable viewBox, a 1px stroke and whitespace minification.
  • Four views: side-by-side, original, SVG and overlay, with an opacity slider for edge inspection.
  • Report paths, colours, bytes and visual similarity; below 50% the tool asks for more colours or less detail.
  • Single and batch ZIP with manifest.csv; the icon pack emits four transparent PNG sizes; a new SVG sprite merges the queue into symbols and joins the batch ZIP.

🚀 How to use it

  1. Click the upload area or drop one or more PNG, JPG or WebP files, up to eight; Sample Icon also works.
  2. Choose Logo, Line art or Photo, then adjust colour count, detail, minimum area, blur and maximum edge.
  3. Tick Remove background for a solid backdrop; open Overlay and drag opacity to check edge residue.
  4. Click Convert Current for the active image; with several files, click Convert All and wait for the queue.
  5. Review paths, colours, bytes and similarity in Compare, then download one file or package everything with ZIP.

⚠️ Before you rely on it

  • Above 6000 paths, browser rendering slows down. Reduce colours or raise the minimum area.
  • Background removal assumes four similar corners. Gradients and multi-colour backgrounds leave a halo; pre-process them first.
  • Do not expect a photograph to come back unchanged. Detail is quantized into colour blocks.
  • The SVG does not embed the bitmap, and text in the image is not converted to editable glyphs. The output is paths only.
  • The sprite reuses only completed SVGs with sanitized, de-duplicated ids; internal symbol ids can still collide, so use individual SVGs for strict isolation.

Tracing is deterministic for a given image and option set, but the result is not a semantic redraw. A rounded corner may become a short staircase, and a one-pixel line may disappear at a high minimum area. Inspect the SVG at 200% in a browser before shipping. For icons that will be recoloured in code, keep the palette small and use a viewBox so the path geometry is independent of the rendered size. Save the original bitmap next to the SVG if you may need to retrace later. If the code will be printed, export a PNG proof at the final size and check that thin strokes have not closed up. A vector file is not automatically print-ready; ink spread and small details still matter, so always proof it on the final material.

Related

⏫︎