SVG file : How to get Path markup datas after convert a PNG file into a SVG file with Inkscape?

后端 未结 2 1444
清酒与你
清酒与你 2021-01-27 19:54

I\'m asking if there would be a tool to convert a PNG file into a SVG file where I could get the Path markup. I have tried with Inkscape but when I edit the SVG file I can\'t fi

2条回答
  •  无人及你
    2021-01-27 20:39

    What do you mean by "convert a PNG file into a SVG file"? It sounds like you might just be putting your PNG into an SVG file. That doesn't automatically turn it into a path. It is just a bitmap embedded in an SVG. It stays a bitmap.

    What it sounds like you want, is to convert your bitmap to a vector. That process is commonly called a "bitmap trace". Inkscape has a feature to do that. Select the PNG and do a Path->Trace Bitmap...

    How well it works will depend on your image. Logos generally work well. Photos usually don't.

    Once you have done the trace, save the SVG file and you will be able to get the path data then.

提交回复
热议问题