Sourcecode to convert JPG (bitmap) to SVG (vector)?

前端 未结 1 1779
被撕碎了的回忆
被撕碎了的回忆 2021-01-29 08:12

I\'m looking for source code that converts JPG bitmap images to SVG.
I will a stand-alone solution I can put and launch online.

I found Potrace but it works with BMP

1条回答
  •  没有蜡笔的小新
    2021-01-29 08:35

    Thank to all of you, here's my process to convert JPG bitmap to SVG:

    • imagemagick to convert JPG to BMP
    • a python file using potrace via subprocess to convert BMP to SVG
    • mkbitmap is also useful to keep the max of details during the vectorization.

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