Home > Blockchain >  Transforming black and white PNG logo to SVG path and remove background
Transforming black and white PNG logo to SVG path and remove background

Time:05-27

I have a black and white logo as a PNG. Now, I need to use it in Inkspace to add some text and make an svg out of it. I had a satisfying result but turns out the logo has a white background. I had a look at the svg code and found out the image wasn't represented as a path but as an <image>.

What i need is to transform the png image into a svg path. And make sure that there is no background. What is the easiest way to do that?

I'm not familiar at all with image manipualtion programs. I have GIMP and Inkscape installed. But i've almost never used them, so detailed steps would be appreciated.

CodePudding user response:

You can use the Inkscape path tracing feature to convert it to vectors. Select your image and then select Path -> Object to Path. This should automatically trace the image leaving you with a set of one or more paths.

Depending on your image, you may get mixed results. In that case you can use the path editing tools to cleanup the trace. Or use them to recreate the image manually.

CodePudding user response:

First go to this website https://www.remove.bg/upload To remove the background after saving the image, go to Inkscape, fill bounded areas, choose the desired color and change the color of the image, then you will have an svg image

  • Related