---
title: "Discussion on \"VTracer in Python: Turn a PNG into a Layered SVG with One <g> per Color\" | Hashnode"
description: "Discussion on \"VTracer in Python: Turn a PNG into a Layered SVG with One <g> per Color\". VTracer, potrace and imagetracerjs tested on one photo: quantize first, group paths into one <g> per color, then recolor or hide each layer with CSS."
url: "https://hashnode.com/posts/vtracer-layered-svg-python/6adf614868afba8fc152dc3b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [VTracer in Python: Turn a PNG into a Layered SVG with One <g> per Color](https://libersand.hashnode.dev/vtracer-layered-svg-python?utm_source=hashnode&utm_medium=feed)

VTracer, potrace and imagetracerjs tested on one photo: quantize first, group paths into one <g> per color, then recolor or hide each layer with CSS.

Oct 26 · 14 min read · libersand.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#svg](https://hashnode.com/tag/svg)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#image-processing](https://hashnode.com/tag/image-processing)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[libersand](https://hashnode.com/@libersand)

@libersand

  
[View profile](https://hashnode.com/@libersand)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
