How to generate correctly svg images

1k views Asked by At

I am trying to generate an SVG format file for a logo but I don't know how to proceed.

Usually when I need an svg format, I upload the image to Zeplin and it is auto generated. I tried to do the same thing this time but it tells me This layer contains bitmap images, so no vector assets were generated. What are bitmap images? How do I remove them or transform into something else? Thanks!

(I'm not a designer)

1

There are 1 answers

1
Jebby On

You can convert a .png file to a .svg file by using the convert command.

convert comes with the ImageMagick program.

1.) ImageMagick is not installed by default so if you don't already have it, get macport and install it.

NOTE: If you don't want to install macport, you can just download and install ImageMagick directly from HERE and skip to step 3

2.) Open a terminal and enter: sudo port install ImageMagick

3.) Open a terminal in the directory of the image and enter: convert filename.png filename.svg

You will now have the converted image in svg format.