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

后端 未结 2 1443
清酒与你
清酒与你 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:23

    You can't make a raster image into a vector image. Though there are programs like vector magic that try to make it into a vector image looking as close as possible as the raster image by looking at shapes of similar colors.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题