DEV Community

loading...

Discussion on: Benefits of SVG

Collapse
skylee91 profile image
Sky Lee

Nice post. Do you know any tools to convert . png or jpg to svg?

Collapse
robertlugg profile image
Robert M Lugg

Generally, there aren’t any. Inkscape can display the image and then you trace it drawing vectors. That is the best way IMO. PNG and jpg typically store pixels so there is no concept of a circle, for instance.

Collapse
airmind profile image
Alex Ágreda

Be careful though with converting .jpg or .png files to .svg, converting more complex images (like an actual picture) to .svg could result on a .svg file bigger than the original .jpg or .png file.